SimpleConfirm class
Constructors
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
-
show<
T> (BuildContext context, {required SimpleConfirmOptions options}) → Future< T?> -
显示弹出窗
关闭 Navigator.pop
options
详见 SimpleConfirmOptionsT
为返回的结果,可通过SimpleConfirmOptions.onConfirm返回,例如在SimpleConfirmOptions.onConfirm函数中 Navigator.of(context).pop(1)