NmDialogOptions class abstract final

Options of the handmade dialogs nmErrorDialog, nmSuccessDialog, nmAttentionDialog, nmGetTextDialog, nmGetAmountDialog, nmYesNoDialog, nmYesNoDialogExtended, nmYesNoDialogDelayed.

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 Properties

enterSubmits ↔ bool
When true, Enter / numpad Enter presses the main button of the button-only dialogs (error, success, attention: close; yes/no: yes). Off by default (1.1.0 behaviour); dialogs with a text field or a timer never take Enter.
getter/setter pair
shape ↔ ShapeBorder Function()?
Shape of the dialogs; null = Eugene's nmDefaultShape() (radius 18, blue-grey border).
getter/setter pair

Static Methods

strings(BuildContext context) → NmLocalizations
Strings of the dialogs: the app's locale when it registers NmL10n.delegate (languages without a translation read English, as all core strings), else Russian — the original texts of the dialogs.