You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lishuhao To answer your question, for most objects in our framrwork just printing the object (e.g. a widget or BuildContext) should do what you want. You can often also do print('${object.toStringDeep()}'); to get the whole subtree. For FlatButton we happen to have forgotten to implement the code that gives you specific details.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Hixie commentedon Aug 29, 2017
This just needs a debugFillProperties method to be implemented on FlatButton.
[-]Ask: How to print the structure of the widget information[/-][+]FlatButton has no debugFillProperties[/+]Hixie commentedon Aug 29, 2017
@lishuhao To answer your question, for most objects in our framrwork just printing the object (e.g. a widget or BuildContext) should do what you want. You can often also do
print('${object.toStringDeep()}');to get the whole subtree. For FlatButton we happen to have forgotten to implement the code that gives you specific details.lishuhao commentedon Aug 30, 2017
@Hixie That solved my problem. Thank you very much!!
jonahwilliams commentedon Mar 5, 2018
This looks to be fixed, can this issue be closed?
Hixie commentedon Mar 6, 2018
Yup!
Manual roll of engine 7ea9884...5b94c8a (#40275)
Roll engine from 7ea9884..3c6383f (77 commits 🔥) (#40372)
Roll engine to 6e6de94
Roll engine to 6e6de94 (#40394)
Roll engine 7ea9884..1b63444 (91 commits 🔥🔥🔥) (#40442)
Manual roll of engine 7ea9884...5b94c8a (flutter#40275)
Roll engine from 7ea9884..3c6383f (77 commits 🔥) (flutter#40372)
Roll engine to 6e6de94 (flutter#40394)
Roll engine 7ea9884..1b63444 (91 commits 🔥🔥🔥) (flutter#40442)
github-actions commentedon Aug 16, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.