RouteAnimationHelper class

Helper class to generate an Animated Route for Screens transition

destination (Mandatory) - The Page Widget you would like to navigate to.

curve (Optional) - The curve type - default value is set to Curves.ease

animType (Optional) - The type of anim to apply on the AnimatedRoute AnimType default value is set to AnimType.slideStart

duration (Optional) - The duration of the screen transition in milliseconds, default value is set to 450.

Constructors

RouteAnimationHelper()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

createRoute({Widget destination, Curve curve: Curves.ease, AnimType animType: AnimType.slideStart, int duration: DEFAULT_TRANSITION_DURATION}) Route

Constants

DEFAULT_TRANSITION_DURATION → const int
450