SwitchAnimationConfig class
Holds the configuration for the switch animation
Constructors
- SwitchAnimationConfig({Duration duration = const Duration(milliseconds: 300), Curve switchInCurve = Curves.linear, Curve switchOutCurve = Curves.linear, AnimatedSwitcherTransitionBuilder transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder, Duration? reverseDuration})
-
Default constructor
const
Properties
- duration → Duration
-
The duration of the switch animation
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- reverseDuration → Duration?
-
The duration of the reverse switch animation
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- switchInCurve → Curve
-
The curve of the switch in animation
final
- switchOutCurve → Curve
-
The curve of the switch out animation
final
- transitionBuilder → AnimatedSwitcherTransitionBuilder
-
The transition builder
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override