ScaffoldFeatureController<T extends Widget, U> class Null safety

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.
read-only
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.
final

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