PersistentBottomSheetController<T> class
Null safety
A ScaffoldFeatureController for standard bottom sheets.
This is the type of objects returned by ScaffoldState.showBottomSheet.
This controller is used to display both standard and persistent bottom sheets. A bottom sheet is only persistent if it is set as the Scaffold.bottomSheet.
- Inheritance
-
- Object
- ScaffoldFeatureController<
_StandardBottomSheet, T> - PersistentBottomSheetController
Properties
- close → VoidCallback
-
Remove the feature (e.g., bottom sheet, snack bar, or material banner) from the scaffold.
finalinherited
-
closed
→ Future<
T> -
Completes when the feature controlled by this object is no longer visible.
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- setState → StateSetter?
-
Mark the feature (e.g., bottom sheet or snack bar) as needing to rebuild.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited