OverlayController<T> class
A controller that is passed to the overlay builder.
It can be used to close the overlay and provides a safeArea that respects the app bar and bottom navigation bar.
Constructors
-
OverlayController(Future<
void> close([T? result]), OverlaySafeArea safeArea) -
Creates an OverlayController.
const
Properties
-
close
→ Future<
void> Function([T? result]) -
Closes the overlay and returns the
result.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safeArea → OverlaySafeArea
-
The safe area for the overlay.
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