UiDialogScope class
Imperative helpers for showing a UiDialog.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
confirm(
BuildContext context, {required String title, String? description, String confirmLabel = 'Confirm', String cancelLabel = 'Cancel', UiIntent confirmIntent = UiIntent.primary}) → Future< bool?> - Two-button confirmation prompt.
-
show<
T> (BuildContext context, {required WidgetBuilder builder, bool barrierDismissible = true, }) → Future< T?> -
Shows
builderinside a dismissible overlay. Resolves with whatever is passed toNavigator.maybePopfrom within the dialog, ornullif the scrim was tapped.