-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: animationAnimation APIsAnimation APIsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: invalidIssue is closed as not validIssue is closed as not valid
Description
I'm using the AnimatedSwitcher widget in a lot of situations, and I'm loving this widget ❤️ But I'm forced to pass always a duration, because duration is required.
Is there a specific reason, why there is no default value for duration, like 250ms? Reading through Material Design Guidelines, a default value of 250ms would be a good choice. Of course, the developer can still provide his own duration, because it would only be a default value.
I would love to see an answer to this 🙂 If we can remove the required tag from duration, I can open a PR for this.
mishatron
Metadata
Metadata
Assignees
Labels
a: animationAnimation APIsAnimation APIsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: invalidIssue is closed as not validIssue is closed as not valid