FXDialog class

Constructors

FXDialog(BuildContext context, {double radius = 8, Widget? lottieIcon, Color buttonColor = Colors.blue, Color backgroundColor = Colors.white, TextStyle style = const TextStyle(), TextAlign textAlign = TextAlign.center, String message = "Custom dialog message", DialogType dialogType = DialogType.success, EdgeInsets padding = const EdgeInsets.all(12), TextStyle titleStyle = const TextStyle(fontSize: 18), BoxConstraints constraints = const BoxConstraints(maxWidth: 400), void onCancel()?, dynamic onConfirm()?, bool repeatAnimation = true, bool disableBackButton = false})

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

progress(dynamic context, {double radius = 8, String subtitle = "Loading...", Color backgroundColor = Colors.white, TextStyle textStyle = const TextStyle(), double circularIndicatorStrokeWidth = 2, Color progressIndicatorColor = Colors.blue, ProgressType progressType = ProgressType.circular}) → dynamic