DeviAlert class

A utility class to show alert dialogs and toast notifications in a Flutter app.

Implementers

Constructors

DeviAlert.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

alert(BuildContext context, {String title = '', String description = '', List<Widget>? actions}) Future<void>
Shows an alert dialog with the provided title, description, and actions.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toast(BuildContext context, {String? title, String? buttonLabel, dynamic onPressed()?, Color? buttonTheme, Color? theme}) → void
Shows a toast notification with the provided title, buttonLabel, onPressed, buttonTheme, and theme.
toString() String
A string representation of this object.
inherited

Operators

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