ShowMessage class

Display message to user with variant type

Constructors

ShowMessage.new()

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

alert({required Widget content, required String title, List<Widget>? actions}) → dynamic
Displays a customizable alert dialog with a title, content, and optional actions.
error({required dynamic callback(), String? message, String? title}) → dynamic
Shows a modal error dialog with a customizable title and message.
success({required String message}) → dynamic
Displays a success snack bar with the given message.
warning({required String message}) → dynamic
Displays a warning snack bar with the given message.