SnappingSheetController class
Constructors
Properties
- currentlySnapping → bool
-
Returns true if the snapping sheet is currently trying to snap to a
position.
no setter
- currentPosition → double
-
Getting the current position of the sheet. This is calculated from bottom
to top. That is, when the grabbing widget is at the bottom, the
currentPosition is close to zero. If the grabbing widget is at the top,
the currentPosition is close the the height of the available height of
the SnappingSheet.
no setter
- currentSnappingPosition → SnappingPosition
-
Getting the current snapping position of the sheet.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAttached → bool
-
If a state is attached to this controller. isAttached must be true
before any function call from this controller is made
no setter
- 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
-
setSnappingSheetFactor(
double positionAsFactor) → void - This sets the position of the snapping sheet directly without any animation. To use animation, see the snapToPosition method.
-
setSnappingSheetPosition(
double positionInPixels) → void - This sets the position of the snapping sheet directly without any animation. To use animation, see the snapToPosition method.
-
snapToPosition(
SnappingPosition snappingPosition) → TickerFuture - Snaps to a given snapping position.
-
stopCurrentSnapping(
) → void - Stops the current snapping if there is one ongoing.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited