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.



close VoidCallback
Remove the feature (e.g., bottom sheet, snack bar, or material banner) from the scaffold.
final, inherited
closed Future<T>
Completes when the feature controlled by this object is no longer visible.
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
setState StateSetter?
Mark the feature (e.g., bottom sheet or snack bar) as needing to rebuild.
final, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.