PersistentBottomSheetController class
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, void> - PersistentBottomSheetController
Properties
- close → VoidCallback
-
Remove the feature (e.g., bottom sheet, snack bar, or material banner) from the scaffold.
finalinherited
-
closed
→ Future<
void> -
Completes when the feature controlled by this object is no longer visible.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 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