ExitDialogConfig class

Fully customizable Dialog config

Constructors

ExitDialogConfig({Widget? title, Widget? content, required Widget cancelButton, required Widget confirmButton, required VoidCallback onConfirm, bool barrierDismissible = true, ShapeBorder? shape, EdgeInsetsGeometry? contentPadding})
const

Properties

barrierDismissible bool
Control behavior
final
cancelButton Widget
Custom action widgets (TextButton, ElevatedButton, anything)
final
confirmButton Widget
final
content Widget?
final
contentPadding EdgeInsetsGeometry?
final
hashCode int
The hash code for this object.
no setterinherited
onConfirm VoidCallback
Confirm callback
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeBorder?
final
title Widget?
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