- 20 Nov, 2023 1 commit
-
-
Taha Tesser authored
This PR introduces `AnimationStyle`, it is used to override default animation curves and durations in several widgets. fixes [Add the ability to customize MaterialApp theme animation duration](https://github.com/flutter/flutter/issues/78372) fixes [Allow customization of showMenu transition animation curves and duration](https://github.com/flutter/flutter/issues/135638) fixes [`AnimationStyle.noAnimation` needs to replace `AnimatedTheme` with just `Theme` in the `MaterialApp`](https://github.com/flutter/flutter/issues/138618) Here is an example where popup menu curve and transition duration is overridden: ```dart popUpAnimationStyle: AnimationStyle( curve: Easing.emphasizedAccelerate, duration: Durations.medium4, ), ``` Set `AnimationStyle.noAnimation` to disable animation. ```dart return MaterialApp( themeAnimationStyle: AnimationStyle.noAnimation, ``` ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [test-exempt]: https://github.com/flutter/flutter/wiki/Tree-hygiene#tests [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat
-
- 26 Oct, 2023 1 commit
-
-
Kostia Sokolovskyi authored
-
- 17 Oct, 2023 1 commit
-
-
Kostia Sokolovskyi authored
-
- 13 Oct, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 05 Sep, 2023 1 commit
-
-
Tong Mu authored
This PR adds `AnimationSheetRecorder.dispose`, which disposes all the images generated by the recorder, eliminating leaks. Fixes https://github.com/flutter/flutter/issues/133071.
-
- 23 Aug, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 14 Aug, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 09 Aug, 2023 1 commit
-
-
Zachary Anderson authored
Reverts flutter/flutter#131998 Reverting for https://github.com/flutter/flutter/issues/132222
-
- 08 Aug, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 03 Aug, 2023 1 commit
-
-
Kate Lovett authored
When providing infinite values for the control points of CatmullRomSpline, a StackOverflowError occurs. This asserts against that and provides a helpful error message. Fixes https://github.com/flutter/flutter/issues/131246
-
- 28 Jun, 2023 1 commit
-
-
pdblasi-google authored
Removes deprecated APIs from AnimationBuilder. Resolves #129653
-
- 08 May, 2023 1 commit
-
-
Michael Goderbauer authored
Fixes https://github.com/flutter/flutter/issues/126096. Fixes https://github.com/flutter/flutter/issues/126097. Fixes https://github.com/flutter/flutter/issues/126102. Fixes https://github.com/flutter/flutter/issues/126098. Fixes https://github.com/flutter/flutter/issues/126147. Work towards https://github.com/flutter/flutter/issues/126100. Does not fix the OverlyEntry/ModalRoute leak (https://github.com/flutter/flutter/issues/126100).
-
- 04 May, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 21 Dec, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 09 Aug, 2022 1 commit
-
-
Jonah Williams authored
-
- 30 Jul, 2022 1 commit
-
-
Jonah Williams authored
-
- 31 May, 2022 1 commit
-
-
Alexandre Ardhuin authored
* more const immutable classes * more const constructors in dev/ and examples/
-
- 06 May, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 14 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 03 Mar, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 03 Feb, 2022 1 commit
-
-
Ian Hickson authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 30 Aug, 2021 1 commit
-
-
Kate Lovett authored
-
- 16 Aug, 2021 1 commit
-
-
Swiftaxe authored
Co-authored-by:
Alexander Dahlberg <alexander.dahlberg@sigma.se> Fixes test/animation/animation_controller_test.dart in #85160 Problem: The test 'animateTo can deal with duration == Duration.Zero' was failing with the following error: Expected: <0> Actual: <5> Expected no animation. package:test_api expect package:flutter_test/src/widget_tester.dart 484:3 expect test/animation/animation_controller_test.dart 511:5 main. Following line finds 5 transientCallbacks scheduled, while expecting zero, if shuffled with seed 123: expect(SchedulerBinding.instance!.transientCallbackCount, equals(0), reason: 'Expected no animation.'); This is caused by some other test leaving transientCallbacks scheduled. Fix: By disposing the AnimationController after each test, the transientCallbacks get cleaned up. I chose to dispose all controllers in every test, to make sure there is no risk of leaks.
-
- 03 Aug, 2021 1 commit
-
-
Kate Lovett authored
-
- 29 Jul, 2021 1 commit
-
- 28 Jul, 2021 1 commit
-
- 27 Jul, 2021 2 commits
-
-
Tong Mu authored
-
Greg Spencer authored
* Randomize tests, exclude tests that fail with randomization. * Disable some more tool tests
-
- 26 Jul, 2021 1 commit
-
-
Darren Austin authored
-
- 21 Jul, 2021 2 commits
-
-
Tong Mu authored
This PR fixes several bugs related to live tests, adds more tests, and completes the documentation of several methods related to pointer events.
- 20 Jul, 2021 1 commit
-
-
Kate Lovett authored
Revert "Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests (#86449)" (#86730) This reverts commit cd78190b.
-
- 19 Jul, 2021 1 commit
-
-
Tong Mu authored
This PR fixes several bugs related to live tests, adds more tests, and completes the documentation of several methods related to pointer events.
-
- 15 Jul, 2021 1 commit
-
- 14 Jul, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 31de052e.
-
Ian Hickson authored
-