-
Notifications
You must be signed in to change notification settings - Fork 28.5k
[Widget Inspector] Clean-up changes in PR #167677 #168488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -29,7 +29,7 @@ import 'page.dart'; | |||
import 'scaffold.dart' show ScaffoldMessenger, ScaffoldMessengerState; | |||
import 'scrollbar.dart'; | |||
import 'theme.dart'; | |||
import 'theme_data.dart'; | |||
import 'theme_data.dart' show MaterialTapTargetSize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although theme.dart
exports ThemeData
, it doesn't export the MaterialTapTargetSize
(which is the reason for the added import to theme_data.dart
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see! Maybe it should then. I looked around and noticed it is used multiple times like this. Can you change theme.dart
to also export MaterialTapTargetSize as well instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for following up on this. 🙏 💙
Follow-up to #167677
Addresses clean-up comments in cherry-pick: #168386