RouteTransitions class

/ Main Class context es el Buid context actual de la app child es la paginia donde queremos navegar, animation, tipo de animacion actrualmente hay solo 2 replacement lo q hace es destruir las paginas anterior, por lo cual no se puede volver ala pagina anterior, por defecto esta en false

Constructors

RouteTransitions({required BuildContext context, required Widget child, bool replacement = false, AnimationType animation = AnimationType.normal, Duration duration = const Duration(milliseconds: 300)})

Properties

animation AnimationType
final
child Widget
final
context BuildContext
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