ULoadingSettings class

Constructors

ULoadingSettings({WidgetBuilder? builder, String? source, String? package, UFileData? fileData, double imageWidth = 80, double imageHeight = 80, BoxFit imageFit = BoxFit.contain, Color? imageColor, double imageBorderRadius = 0, String? imagePlaceholder, Color overlayColor = Colors.black54, Duration animationDuration = const Duration(milliseconds: 300), Curve animationCurve = Curves.easeInOut, double blurAmount = 2, bool dismissible = false, bool useDefaultLoader = true, String? text, Color textColor = Colors.white, Color spinnerColor = Colors.white, double spinnerSize = 40, double spinnerStrokeWidth = 3, bool useProgressIndicator = false, double spacing = 16, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, Color? backgroundColor, double borderRadius = 0, AlignmentGeometry alignment = Alignment.center, bool showPercent = true, String percentSuffix = "%", Color? percentTextColor, ULoadingPercentBuilder? percentBuilder, VoidCallback? onDismiss})
const

Properties

alignment → AlignmentGeometry
final
animationCurve → Curve
final
animationDuration → Duration
final
backgroundColor → Color?
final
blurAmount → double
final
borderRadius → double
final
builder → WidgetBuilder?
final
dismissible → bool
final
fileData → UFileData?
final
hashCode → int
The hash code for this object.
no setterinherited
imageBorderRadius → double
final
imageColor → Color?
final
imageFit → BoxFit
final
imageHeight → double
final
imagePlaceholder → String?
final
imageWidth → double
final
margin → EdgeInsetsGeometry?
final
onDismiss → VoidCallback?
final
overlayColor → Color
final
package → String?
final
padding → EdgeInsetsGeometry?
final
percentBuilder → ULoadingPercentBuilder?
final
percentSuffix → String
final
percentTextColor → Color?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showPercent → bool
final
source → String?
final
spacing → double
final
spinnerColor → Color
final
spinnerSize → double
final
spinnerStrokeWidth → double
final
text → String?
final
textColor → Color
final
useDefaultLoader → bool
final
useProgressIndicator → bool
final

Methods

copyWith({WidgetBuilder? builder, String? source, String? package, UFileData? fileData, double? imageWidth, double? imageHeight, BoxFit? imageFit, Color? imageColor, double? imageBorderRadius, String? imagePlaceholder, Color? overlayColor, Duration? animationDuration, Curve? animationCurve, double? blurAmount, bool? dismissible, bool? useDefaultLoader, String? text, Color? textColor, Color? spinnerColor, double? spinnerSize, double? spinnerStrokeWidth, bool? useProgressIndicator, double? spacing, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, Color? backgroundColor, double? borderRadius, AlignmentGeometry? alignment, bool? showPercent, String? percentSuffix, Color? percentTextColor, ULoadingPercentBuilder? percentBuilder, VoidCallback? onDismiss}) → ULoadingSettings
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