UasTransition class

Animate your screen transitions with this widget! animation is the type of animation you can use. context is the context of the screen you want to animate. duration is the duration of the animation. replacement put true if you want to replace the screen with the new one. curves is the curve of the animation. child is the widget of the end screen.

Constructors

UasTransition({required BuildContext context, required Widget child, Duration duration = const Duration(milliseconds: 400), UasAnimation animation = UasAnimation.native, Curve curves = Curves.easeOut, bool replacement = false})

Properties

animation UasAnimation
final
child Widget
final
context BuildContext
final
curves Curve
final
duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
replacement bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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