UpdateType enum Null safety

UpdateType Enum with 4 values UpdateType.dragging when user starts dragging or currently being dragging UpdateType.doneDragging when user is done with dragging UpdateType.animating when we are manually animating the Swipe using AnimatedPageDragger UpdateType.doneAnimating we are done with animating now update values like currentPage and nextPage etc.

Flow will always be UpdateType.dragging > UpdateType.doneDragging > UpdateType.animating > UpdateType.doneAnimating


animating → const UpdateType
const UpdateType(2)
doneAnimating → const UpdateType
const UpdateType(3)
doneDragging → const UpdateType
const UpdateType(1)
dragging → const UpdateType
const UpdateType(0)
values → const List<UpdateType>

A constant List of the values in this enum, in order of their declaration.

const List<UpdateType>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


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


operator ==(Object other) bool
The equality operator. [...]