AlertController class

Allows optional customisation of alerts and other UI messaging utilised by flutter_slick, specifically the ViewModel and ViewModelWidget classes.

Constructors

AlertController({void onShowInfo({String message, String? title})?, void onShowError({String message, String? title})?, void showWarning({String message, String? title})?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onShowError → void Function({String message, String? title})?
final
onShowInfo → void Function({String message, String? title})?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showWarning → void Function({String message, String? title})?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAlertController(AlertController controller) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance AlertController
no setter