LoadingStyle class

Inheritance

Constructors

LoadingStyle({bool showOverlay = true, Color? overlayColor, BoxDecoration? decoration, EdgeInsetsGeometry? padding, double? strokeWidth, Animation<Color?>? valueColor, Color? color, Color? backgroundColor, Widget builder(BuildContext, double)?, AnimationConfig? enterAnimation, AnimationConfig? leaveAnimation})
const

Properties

backgroundColor Color?
final
builder → (Widget Function(BuildContext, double)?)
final
color Color?
final
decoration BoxDecoration?
final
enterAnimation AnimationConfig?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
leaveAnimation AnimationConfig?
finalinherited
overlayColor Color?
final
padding EdgeInsetsGeometry
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showOverlay bool
final
strokeWidth double
final
valueColor Animation<Color?>?
final

Methods

bottom({bool? isAnimate}) LoadingStyle
Set align bottom for animation
override
bottomIfNoAlign({bool? isAnimate}) LoadingStyle
Set align bottom for animation if do not contains align
override
center({bool? isAnimate}) LoadingStyle
Set align center for animation
override
centerIfNoAlign({bool? isAnimate}) LoadingStyle
Set align center for animation if do not contains align
override
copyWith({bool? showOverlay, Color? overlayColor, BoxDecoration? decoration, EdgeInsetsGeometry? padding, double? strokeWidth, Animation<Color?>? valueColor, Color? color, Color? backgroundColor, Widget builder(BuildContext, double)?, AnimationConfig? enterAnimation, AnimationConfig? leaveAnimation}) LoadingStyle
Creates a copy of this style but with the given fields replaced with the new values.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
top({bool? isAnimate}) LoadingStyle
Set align top for animation
override
topIfNoAlign({bool? isAnimate}) LoadingStyle
Set align style for animation if do not contains align
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

lerp(LoadingStyle? a, LoadingStyle? b, double t) LoadingStyle
lerp two ToastStyle