JustTransitionType class

Class defining the type of transition to be performed.

Constructors

JustTransitionType.cupertino()
Cupertino transition Needs to be provided as type in JustTransitions.goTo.
JustTransitionType.fade()
Fade transition Needs to be provided as type in JustTransitions.goTo.
JustTransitionType.material()
Material transition Needs to be provided as type in JustTransitions.goTo.
JustTransitionType.none()
Without animation. Needs to be provided as type in JustTransitions.goTo.
JustTransitionType.scale({Alignment? alignment = Alignment.center})
Scale transition Needs to be provided as type in JustTransitions.goTo.
JustTransitionType.size({Alignment? alignment = Alignment.centerRight, Axis? axis = Axis.horizontal})
Size transition Needs to be provided as type in JustTransitions.goTo.
JustTransitionType.slide({TextDirection? textDirection = TextDirection.ltr})
Slide transition Needs to be provided as type in JustTransitions.goTo.

Properties

alignment Alignment?
Alignment used to make the Size transition and Scale transition
final
axis Axis?
Axis used to make the Size transition
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textDirection TextDirection?
Direction used to make the transition
final
type JustTransitionSpecificType
To check internally the type of animation according to the named constructor used
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.
inherited