LoadingModalOptions class
LoadingModalOptions
- Configuration options for the LoadingModal
widget.
Properties:
isVisible
(bool
): Determines if the loading modal is visible.backgroundColor
(Color
): Background color of the modal overlay, defaulting to a semi-transparent black.displayColor
(Color
): Color for the loading indicator and loading text.
Example Usage:
LoadingModalOptions(
isVisible: true,
backgroundColor: Color.fromRGBO(0, 0, 0, 0.7),
displayColor: Colors.white,
);
Constructors
- LoadingModalOptions({required bool isVisible, Color backgroundColor = const Color.fromRGBO(0, 0, 0, 0.5), Color displayColor = Colors.black})
-
Constructs a
LoadingModalOptions
object with the given configuration.const
Properties
- backgroundColor → Color
-
The background color of the loading modal overlay.
final
- displayColor → Color
-
The color of the loading indicator and loading text.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVisible → bool
-
A boolean indicating whether the loading modal is visible.
final
- 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