SimpleFontelicoProgressDialog class

Constructors

SimpleFontelicoProgressDialog({required BuildContext context, bool barrierDimisable = false, Duration? duration = const Duration(milliseconds: 1000)})

Properties

barrierDimisable bool
Bool value to indicate the barrierDismisable of the dialog
final
context BuildContext
Context to render the dialog
final
duration Duration?
Duration for animation
final
hashCode int
The hash code for this object.
no setterinherited
message String
String value to set the main message inside the alert dialog
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setState StateSetter
State Setter used to update the message inside the alert dialog
getter/setter pair

Methods

hide() → void
Method to hide the dialog
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show({required String message, SimpleFontelicoProgressDialogType type = SimpleFontelicoProgressDialogType.normal, double height = 100, double width = 120, double radius = 5.0, double elevation = 5.0, Color backgroundColor = Colors.white, Color? indicatorColor, bool horizontal = false, double separation = 10.0, TextStyle textStyle = const TextStyle(fontSize: 14), TextAlign textAlign = TextAlign.center, bool hideText = false, Widget? loadingIndicator}) → void
message: String to indicate a message into the dialog. Required type: Simple dialog type (normal, threeline, multiline, refresh, hurricane, phoenix, iphone) height: Double value to set the dialog height width: Double value to set the dialog width radius: Double value to set the dialog border radius elevation: Double value to set the dialog elevation backgroundColor: Color value to set the dialog background color indicatorColor: Color value to set the indicator color horizontal: Boolean value to set if loading has to show on horizontal separation: Double value to set the separation between loading and text textStyle: Style to customize the text inside dialog hideText: Boolean value to hide the text widget loadingIndicator: Widget to use when type is custom textAlign: Value to align the text
toString() String
A string representation of this object.
inherited
updateMessageText(String message) → void
Method to update the message text when dialog is open

Operators

operator ==(Object other) bool
The equality operator.
inherited