SnappingBottomSheetState class
- Inheritance
-
- Object
- State<
SnappingBottomSheet> - SnappingBottomSheetState
- Mixed in types
Constructors
Properties
- availableHeight ↔ double
-
getter/setter pair
- borderHeight → double
-
no setter
- childHeight ↔ double
-
getter/setter pair
-
childKey
→ GlobalKey<
State< StatefulWidget> > -
final
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
- controller ↔ _SnappingBottomSheetScrollController
-
latefinal
- cornerRadius → double?
-
no setter
- currentExtent ↔ double
-
getter/setter pair
- didCompleteInitialRoute ↔ bool
-
getter/setter pair
- didStartDragWhenNotCollapsed ↔ bool
-
getter/setter pair
- dismissUnderway ↔ bool
-
getter/setter pair
- extent ↔ _SheetExtent?
-
getter/setter pair
-
no setter
-
getter/setter pair
-
final
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasHeader → bool
-
no setter
- headerExtent → double
-
no setter
-
no setter
- headerHeight ↔ double
-
getter/setter pair
-
headerKey
→ GlobalKey<
State< StatefulWidget> > -
final
- initialExtent → double
-
no setter
- isCustom → bool
-
no setter
- isDialog → bool
-
no setter
- isLaidOut ↔ bool
-
getter/setter pair
- isScrollable → bool
-
no setter
- lerpFactor → double
-
no setter
- maxExtent → double
-
no setter
- maxHeight → double
-
no setter
- minExtent → double
-
no setter
- mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
- padding → EdgeInsets
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollSpec → ScrollSpec
-
no setter
- sheetController ↔ SheetController?
-
getter/setter pair
- sheetHeight → double
-
no setter
-
snappings
↔ List<
double> -
getter/setter pair
- snapPositioning → SnapPositioning
-
no setter
- snapSpec → SnapSpec
-
no setter
- state → SheetState
-
no setter
-
stateNotifier
→ ValueNotifier<
SheetState> -
final
- widget → SnappingBottomSheet
-
The current configuration.
no setterinherited
Methods
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createTicker(
TickerCallback onTick) → Ticker -
Creates a ticker with the given callback.
inherited
-
deactivate(
) → void -
Called when this object is removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didChangeDependencies(
) → void -
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(
covariant SnappingBottomSheet oldWidget) → void -
Called whenever the widget configuration changes.
override
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
override
-
initState(
) → void -
Called when this object is inserted into the tree.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
scrollTo(
double offset, {Duration? duration, Curve? curve}) → Future< void> -
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
inherited
-
snapToExtent(
double snap, {Duration? duration, double velocity = 0, bool? clamp}) → Future< void> -
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited