SwipeSettings class

Constructors

SwipeSettings({bool canCloseBySwipe = true, double velocityThreshhold = 150.0, bool onlySwipesFromEdges = false, double interactiveEdgeWidth = 100.0})
canCloseBySwipe if false, the bottomsheet will not close if a user swipes down velocityThreshhold the bigger this value, the faster you need to swipe to close the bottomsheet onlySwipesFromEdges if true, will only allow swipes from a top side interactiveEdgeWidth the width of the edge that is interactive while dragging. Works only if onlySwipesFromEdges is true
const

Properties

canCloseBySwipe bool
final
hashCode int
The hash code for this object.
no setterinherited
interactiveEdgeWidth double
final
onlySwipesFromEdges bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
velocityThreshhold double
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