ScaffoldFeatureController<T extends Widget, U> class
An interface for controlling a feature of a Scaffold.
Commonly obtained from ScaffoldMessengerState.showSnackBar or ScaffoldState.showBottomSheet.
- Implementers
Properties
- close → VoidCallback
-
Remove the feature (e.g., bottom sheet, snack bar, or material banner) from the scaffold.
final
-
closed
→ Future<
U> -
Completes when the feature controlled by this object is no longer visible.
no setter
- 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.
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