LzConfirm class
Utility class for displaying confirmation dialogs or sheets.
Constructors
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
-
config(
{String? confirmText, String? cancelText, double? margin, bool? darkMode}) → void - Configures global settings for confirmation dialogs or sheets.
-
show(
BuildContext context, {String? title, String? message, IconData? icon, String? confirmText, String? cancelText, Color? confirmColor, bool? darkMode, bool backBlur = true, dynamic onConfirm()?, ConfirmType type = ConfirmType.dialog, double? margin}) → void - Displays a confirmation dialog or sheet.