SheetStateInfo class
Information about the current state of a GlassModalSheet.
Constructors
- SheetStateInfo({required GlassSheetState state, required double progress, required bool isExpanded})
-
Creates a SheetStateInfo snapshot.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExpanded → bool
-
Whether the sheet is currently in its expanded (full) state.
final
- progress → double
-
Expansion progress from 0.0 (hidden/peek) to 1.0 (full).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → GlassSheetState
-
The current snap state.
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