PageTriggerConfiguration class

The configuration for the page triggers.

The page triggers are used to navigate between pages when the user is dragging a event.

Constructors

PageTriggerConfiguration({Duration triggerDelay = const Duration(milliseconds: 750), Duration animationDuration = const Duration(milliseconds: 300), Curve animationCurve = Curves.easeInOut, double triggerWidth(double pageWidth)?})
PageTriggerConfiguration.defaultConfiguration()
const

Properties

animationCurve Curve
The curve of the page animation.
final
animationDuration Duration
The duration of the page animation.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
triggerDelay Duration
The widget that is rendered above the top page trigger.
final

Methods

copyWith({Duration? triggerDelay, Duration? animationDuration, Curve? animationCurve, double triggerWidth(double pageWidth)?}) PageTriggerConfiguration
Creates a copy of this PageTriggerConfiguration but with the given fields replaced with the new values.
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.
override