PageSlideDirection enum

Inheritance
Available extensions

Values

leftToRight → const PageSlideDirection
const PageSlideDirection(Offset(-1.0, 0.0))
rightToLeft → const PageSlideDirection
const PageSlideDirection(Offset(1.0, 0.0))
downToUp → const PageSlideDirection
const PageSlideDirection(Offset(0.0, 1.0))
upToDown → const PageSlideDirection
const PageSlideDirection(Offset(0.0, -1.0))

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
offset Offset
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
transitionPage<T>({required Widget child, Curve curve = Curves.easeInOut, Duration transitionDuration = const Duration(milliseconds: 300), Duration reverseTransitionDuration = const Duration(milliseconds: 300), bool maintainState = true, bool fullscreenDialog = false, bool opaque = true, bool barrierDismissible = false, Color? barrierColor, String? barrierLabel, LocalKey? key, String? name, Object? arguments, String? restorationId}) → CustomTransitionPage<T>

Operators

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

Constants

values → const List<PageSlideDirection>
A constant List of the values in this enum, in order of their declaration.