RouterinoTransition class abstract
Extend this class to create your own transition
Constructors
- RouterinoTransition.new()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getRoute<
T, W extends Widget> (SimpleWidgetBuilder< W> builder) → PageRoute<T> - Returns the typed route.
-
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
Static Properties
- fadeDuration ↔ Duration
-
Default fade duration
getter/setter pair
- slideDuration ↔ Duration
-
Default slide duration
getter/setter pair
Static Methods
-
fade(
{Duration? duration}) → RouterinoTransition - Fade transition
-
slide(
{Duration? duration, SlideDirection direction = SlideDirection.rightToLeft, Curve curve = Curves.linear}) → RouterinoTransition - Slide transition
-
slideJoined(
Widget currentPage, {Duration? duration, SlideDirection direction = SlideDirection.rightToLeft, Curve curve = Curves.linear}) → RouterinoTransition - Slide transition where the current page slides out and the new page slides in.
Constants
- cupertino → const RouterinoCupertinoTransition
- iOS transition (slide to left)
- material → const RouterinoMaterialTransition
- Default flutter transition, it uses cupertino on iOS
- noTransition → const RouterinoNoTransition
- No transition