RouteTransitions class

Main class, context es el BuildContext de la aplicacion en ese momento child es el widget a navegar, animation es el tipo de animación, duration es el tiempo quedemorara en realizar la animacion replacement es un indicador, si queremos retornar a la pagina anterior o no

Constructors

RouteTransitions({@required BuildContext context, @required Widget child, AnimationType animation = AnimationType.normal, Duration duration = const Duration(milliseconds: 300), bool replacement = false})
Duration duration }):this.duration = duration ?? Duration(milliseconds: 300){ Si no mencionamos quees una constante no nos votara error, sera constante siempre y cuando no enviemos dicho campo

Properties

animation AnimationType
final
child Widget
final
context BuildContext
final
duration Duration
final
hashCode int
The hash code for this object.
read-onlyinherited
replacement bool
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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