EasyDialogAnimatorConfiguration class Dialog manager
Configuration of EasyDialogAnimator.
This is typically used to configure the AnimationController that is created by EasyDialogManager and provided to the EasyDialogAnimator.decorate method as AnimationController.view, which implies to drive any kind of animations that can be applied to the dialog.
- Actually, all of these properties perfectly map to the constructor of AnimationController.
Constructors
- EasyDialogAnimatorConfiguration({double? startValue, Duration duration = _defaultDuration, Duration reverseDuration = _defaultReverseDuration, double lowerBound = 0.0, double upperBound = 1.0})
-
Creates an instance of EasyDialogAnimatorConfiguration.
const
- EasyDialogAnimatorConfiguration.unbounded({double startValue = 0.0, Duration duration = _defaultDuration, Duration reverseDuration = _defaultReverseDuration})
-
Creates an instance of EasyDialogAnimatorConfiguration
for an unbounded animation.
const
Properties
- duration → Duration
-
The duration of the animation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lowerBound → double
-
The value at which this animation is deemed to be dismissed.
final
- reverseDuration → Duration
-
The duration of the animation in reverse.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startValue → double
-
The value from which the animation should start.
final
- upperBound → double
-
The value at which this animation is deemed to be completed.
final
Methods
-
createController(
TickerProvider vsync) → AnimationController - Creates an AnimationController based on provided values.
-
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.
inherited