AllowedSwipeDirection class

Class to define the direction in which the card can be swiped

Constructors

AllowedSwipeDirection.all()
Allow the card to be swiped in any direction
const
AllowedSwipeDirection.none()
Does not allow the card to be swiped in any direction
const
AllowedSwipeDirection.only({dynamic up = false, dynamic down = false, dynamic left = false, dynamic right = false})
Allow the card to be swiped in only the specified directions
factory
AllowedSwipeDirection.symmetric({dynamic horizontal = false, dynamic vertical = false})
Allow the card to be swiped symmetrically in horizontal or vertical directions
factory

Properties

down bool
Set to true to allow the card to be swiped in the down direction
final
hashCode int
The hash code for this object.
no setterinherited
left bool
Set to true to allow the card to be swiped in the left direction
final
Set to true to allow the card to be swiped in the right direction
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
up bool
Set to true to allow the card to be swiped in the up direction
final

Methods

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