-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Migrate FloatingActionButton to Material 3
#94486
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
packages/flutter/test/material/floating_action_button_test.dart
Outdated
Show resolved
Hide resolved
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.
I think it'd be easy to miss one of these. Consider creating a material 3 theme in setUp or setUpAll
guidezpl
left a comment
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.
_ ___ _____ __ __
| | / __|_ _| \/ |
| |_| (_ | | | | |\/| |
|____\___| |_| |_| |_|
rami-a
left a comment
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
packages/flutter/lib/src/material/floating_action_button_theme.dart
Outdated
Show resolved
Hide resolved
|
Gold has detected about 3 new digest(s) on patchset 4. |
|
Gold has detected about 3 new digest(s) on patchset 5. |
HansMuller
left a comment
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
FloatingActionButton to Material 3

Part of: #91605
Updated the
FloatingActionButtonwidget with support for Material Design 3.In order to use the
FloatingActionButtonwith the new Material 3 defaults, turn on theuseMaterial3flag in theThemeData:This also adds a new
iconSizeparameter to theFloatingActionButtonThemeDatathat allows apps to configure the size used by the icon inside the FAB.Pre-launch Checklist
///).