-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
Design Systems StudyIssues identified during the custom design system study.Issues identified during the custom design system study.a: animationAnimation APIsAnimation APIsc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages team
Description
Use case
A. I want a different animation duration than the one specified by kThemeAnimationDuration.
B. I want to control the properties of themed widgets using an animation controller, and want those to animate immediately and not according to the theme animation duration.
Proposal
-
Add
themeAnimationDurationtoMaterialAppwhich is then passed to the createdAnimatedTheme. -
Allow
themeAnimationDurationto be overridden or ignored by some mechanism for specific widgets.
It's intuitive that wrapping a widget in AnimatedTheme(data: Theme.of(context), duration: const Duration()) would change the theming animation duration of the widget, but it does not.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Design Systems StudyIssues identified during the custom design system study.Issues identified during the custom design system study.a: animationAnimation APIsAnimation APIsc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages team
Type
Projects
Status
Done (PR merged)
Status
Done