ButtonLoader class

Constructors

ButtonLoader.new({IconData? successIcon, Color? successIconColor = Colors.green, IconData? errorIcon, Color? errorIconColor = Colors.red, Widget? loader, CircularProgressIndicator androidLoader = const CircularProgressIndicator(color: Colors.white), CupertinoActivityIndicator iosLoader = const cup.CupertinoActivityIndicator(color: Colors.white), ProgressRing fluentUILoader = const fluent.ProgressRing(activeColor: Colors.white), Duration animatedDuration = const Duration(milliseconds: 500), Color backgroundLoaderColor = const Color.fromRGBO(4, 99, 180, 1), double? loaderContainerHeight, double? loaderContainerWidth, Widget? customWidgetInSuccess, Widget? customWidgetInError})
const

Properties

androidLoader CircularProgressIndicator
final
animatedDuration Duration
final
backgroundLoaderColor Color
Background color container loader
final
customWidgetInError Widget?
final
customWidgetInSuccess Widget?
final
errorIcon IconData?
final
errorIconColor Color?
final
fluentUILoader → ProgressRing
final
hashCode int
The hash code for this object.
no setterinherited
iosLoader CupertinoActivityIndicator
final
loader Widget?
use custom loader
final
loaderContainerHeight double?
final
loaderContainerWidth double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successIcon IconData?
final
successIconColor Color?
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