Skip to content
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

Add ability to disable FloatingActionButton scale and rotation animations using FloatingActionButtonAnimator.noAnimation #146126

Merged
merged 1 commit into from Apr 29, 2024

Conversation

TahaTesser
Copy link
Member

fixes [Proposal] Allow disabling the scaling animation of the FloatingActionButton

Using default FloatingActionButton animations

ScreenRecording2024-04-02at16 19 03-ezgif com-video-to-gif-converter

Using FloatingActionButtonAnimator.noAnimation

ScreenRecording2024-04-02at16 17 20-ezgif com-video-to-gif-converter

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos labels Apr 2, 2024
@TahaTesser TahaTesser marked this pull request as ready for review April 2, 2024 14:37
@TahaTesser TahaTesser force-pushed the fab_no_animation branch 3 times, most recently from 6e19729 to ea5860b Compare April 24, 2024 14:29
@TahaTesser
Copy link
Member Author

@HansMuller
Resolved conflict in scaffold.dart and updated the branch.
This introduces FloatingActionButtonAnimator.noAnimation specifically to disable FAB entry and exit animations.

Copy link
Contributor

@HansMuller HansMuller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…s using `FloatingActionButtonAnimator.noAnimation`
@TahaTesser TahaTesser added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 29, 2024
@auto-submit auto-submit bot merged commit 257df5e into flutter:master Apr 29, 2024
73 checks passed
@TahaTesser TahaTesser deleted the fab_no_animation branch April 29, 2024 09:03
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 30, 2024
…ation animations using `FloatingActionButtonAnimator.noAnimation` (flutter/flutter#146126)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 30, 2024
…ation animations using `FloatingActionButtonAnimator.noAnimation` (flutter/flutter#146126)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 30, 2024
…ation animations using `FloatingActionButtonAnimator.noAnimation` (flutter/flutter#146126)
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Apr 30, 2024
flutter/flutter@db8c475...b597dd2

2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 2c1517bbf555 to 0ce67714ce4c (1 revision) (flutter/flutter#147585)
2024-04-30 engine-flutter-autoroll@skia.org Roll Packages from 87a7c51 to cc47b06 (5 revisions) (flutter/flutter#147580)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 1a6ef9957b24 to 2c1517bbf555 (1 revision) (flutter/flutter#147579)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 64877c08661d to 1a6ef9957b24 (1 revision) (flutter/flutter#147576)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 1d62704cb3d2 to 64877c08661d (1 revision) (flutter/flutter#147567)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from aace42365fc7 to 1d62704cb3d2 (2 revisions) (flutter/flutter#147566)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from ea6343846c62 to aace42365fc7 (2 revisions) (flutter/flutter#147563)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from c519e9dd182b to ea6343846c62 (1 revision) (flutter/flutter#147560)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 27bb23221305 to c519e9dd182b (1 revision) (flutter/flutter#147557)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 93ccb9ab2cda to 27bb23221305 (2 revisions) (flutter/flutter#147556)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from c093562677fa to 93ccb9ab2cda (1 revision) (flutter/flutter#147553)
2024-04-29 21270878+elliette@users.noreply.github.com Bump dependencies in Flutter (flutter/flutter#147546)
2024-04-29 amirpanahandeh@yahoo.com Add configurable hitTestBehavior to Scrollable (flutter/flutter#146403)
2024-04-29 tessertaha@gmail.com Fix wide `DatePicker` input mode button padding for Material 3 (flutter/flutter#147236)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 13c7ac9376a5 to c093562677fa (1 revision) (flutter/flutter#147547)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5165c711771c to 13c7ac9376a5 (1 revision) (flutter/flutter#147542)
2024-04-29 engine-flutter-autoroll@skia.org Roll Packages from dd01140 to 87a7c51 (2 revisions) (flutter/flutter#147539)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 399837d38807 to 5165c711771c (2 revisions) (flutter/flutter#147537)
2024-04-29 zeqinjie@qq.com [Fix]: showDateRangePicker with "large" helpText cutoffs the save button (flutter/flutter#146049)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 752b146df767 to 399837d38807 (10 revisions) (flutter/flutter#147532)
2024-04-29 tessertaha@gmail.com Add ability to disable `FloatingActionButton` scale and rotation animations using `FloatingActionButtonAnimator.noAnimation` (flutter/flutter#146126)
2024-04-29 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Roll Flutter Engine from 752b146df767 to f4c20e97e6aa (2 revisions) (#147495)" (flutter/flutter#147502)
2024-04-28 engine-flutter-autoroll@skia.org Roll Flutter Engine from 752b146df767 to f4c20e97e6aa (2 revisions) (flutter/flutter#147495)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC dit@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
TecHaxter pushed a commit to TecHaxter/flutter_packages that referenced this pull request May 22, 2024
…r#6631)

flutter/flutter@db8c475...b597dd2

2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 2c1517bbf555 to 0ce67714ce4c (1 revision) (flutter/flutter#147585)
2024-04-30 engine-flutter-autoroll@skia.org Roll Packages from 87a7c51 to cc47b06 (5 revisions) (flutter/flutter#147580)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 1a6ef9957b24 to 2c1517bbf555 (1 revision) (flutter/flutter#147579)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 64877c08661d to 1a6ef9957b24 (1 revision) (flutter/flutter#147576)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 1d62704cb3d2 to 64877c08661d (1 revision) (flutter/flutter#147567)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from aace42365fc7 to 1d62704cb3d2 (2 revisions) (flutter/flutter#147566)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from ea6343846c62 to aace42365fc7 (2 revisions) (flutter/flutter#147563)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from c519e9dd182b to ea6343846c62 (1 revision) (flutter/flutter#147560)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 27bb23221305 to c519e9dd182b (1 revision) (flutter/flutter#147557)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 93ccb9ab2cda to 27bb23221305 (2 revisions) (flutter/flutter#147556)
2024-04-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from c093562677fa to 93ccb9ab2cda (1 revision) (flutter/flutter#147553)
2024-04-29 21270878+elliette@users.noreply.github.com Bump dependencies in Flutter (flutter/flutter#147546)
2024-04-29 amirpanahandeh@yahoo.com Add configurable hitTestBehavior to Scrollable (flutter/flutter#146403)
2024-04-29 tessertaha@gmail.com Fix wide `DatePicker` input mode button padding for Material 3 (flutter/flutter#147236)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 13c7ac9376a5 to c093562677fa (1 revision) (flutter/flutter#147547)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5165c711771c to 13c7ac9376a5 (1 revision) (flutter/flutter#147542)
2024-04-29 engine-flutter-autoroll@skia.org Roll Packages from dd01140 to 87a7c51 (2 revisions) (flutter/flutter#147539)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 399837d38807 to 5165c711771c (2 revisions) (flutter/flutter#147537)
2024-04-29 zeqinjie@qq.com [Fix]: showDateRangePicker with "large" helpText cutoffs the save button (flutter/flutter#146049)
2024-04-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from 752b146df767 to 399837d38807 (10 revisions) (flutter/flutter#147532)
2024-04-29 tessertaha@gmail.com Add ability to disable `FloatingActionButton` scale and rotation animations using `FloatingActionButtonAnimator.noAnimation` (flutter/flutter#146126)
2024-04-29 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Roll Flutter Engine from 752b146df767 to f4c20e97e6aa (2 revisions) (#147495)" (flutter/flutter#147502)
2024-04-28 engine-flutter-autoroll@skia.org Roll Flutter Engine from 752b146df767 to f4c20e97e6aa (2 revisions) (flutter/flutter#147495)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC dit@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Proposal] Allow disabling the scaling animation of the FloatingActionButton
2 participants