NativeIosDialog class
Constructors
-
NativeIosDialog({String? title, String? message, NativeIosDialogStyle style = NativeIosDialogStyle.alert, required List<
NativeIosDialogAction> actions})
Properties
-
actions
→ List<
NativeIosDialogAction> -
List of actions that the dialog has.
Please note that if there is no action, the user cannot close the dialog unless he closes the whole app.
The same also applies when all actions are disabled (
onPressed
is null)final - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Main content of the dialog
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → NativeIosDialogStyle
-
Style of the dialog, which determines if it is the native equivalent to a CupertinoAlertDialog or CupertinoActionSheet
final
- title → String?
-
Title of the dialog
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → Future< void> -
Shows the native iOS Dialog and calls the specific
onPressed
handler -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited