Dialogues class

A utility class for displaying custom dialog overlays.

Provides static methods to show various types of dialogs.

Example usage:

Dialogues.showWarningDialogue(
  title: "Warning",
  message: "This action cannot be undone.",
);

Constructors

Dialogues()

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

showWarningDialogue({required String title, required String message, List<Widget>? actions, EdgeInsets titlePadding = const EdgeInsets.symmetric(vertical: 8), EdgeInsets actionPadding = EdgeInsets.zero, EdgeInsets contentPadding = const EdgeInsets.only(left: 16, right: 16, bottom: 16), EdgeInsets iconPadding = EdgeInsets.zero, EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 20), Color? backgroundColor}) → void