ConfirmDialogConfig class

Content of a destructive button's confirmation dialog (the wire's nested confirmDialog object). Kept separate from NudgeButton's flat behaviour/styling fields (NudgeButton.isDestructive, NudgeButton.applyDestructiveStyling) since those gate the dialog rather than describe its copy.

Constructors

ConfirmDialogConfig({String? title, String? message, String confirmLabel = 'Yes', String cancelLabel = 'Cancel'})
const

Properties

cancelLabel String
Label of the dialog's cancel action.
final
confirmLabel String
Label of the dialog's confirm action.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Dialog body copy; null/empty renders no content.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Dialog title; null/empty renders no title.
final

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