LoadingOptions class

Inheritance

Constructors

LoadingOptions({AlignmentGeometry? alignment = Alignment.center, double gaussian = 0, bool? ignoring, bool? absorbing, GestureTapCallback? onModalTap, Color? backgroundColor, TextStyle? textStyle, Color? foregroundColor, BorderRadiusGeometry? borderRadius, bool? borderOnForeground, ShapeBorder? shape, double? elevation, Color? shadowColor, BoxConstraints? constraints, bool safeLTRB = true, bool resizeToAvoidBottomInset = true, Curve insetAnimationCurve = Curves.decelerate, Duration insetAnimationDuration = const Duration(milliseconds: 100), GestureTapCallback? onLoadingTap, LoadingBuilder? builder, ProgressIndicatorOptions? progressIndicator, EdgeInsetsGeometry? padding})
const

Properties

absorbing bool?
是否吸收子组件的点击事件且不响应背景点击事件 默认 false onTap != null 时 无效
finalinherited
alignment AlignmentGeometry?
modal上的组件对齐方式 alignment
finalinherited
backgroundColor Color?
背景色
finalinherited
borderOnForeground bool?
finalinherited
borderRadius BorderRadiusGeometry?
finalinherited
builder LoadingBuilder?
builder
final
constraints BoxConstraints?
constraints
finalinherited
elevation double?
finalinherited
foregroundColor Color?
前景色
finalinherited
gaussian double
高斯模糊
finalinherited
hashCode int
The hash code for this object.
no setterinherited
ignoring bool?
是否忽略子组件点击事件响应背景点击事件 默认 false
finalinherited
insetAnimationCurve Curve
当键盘弹出时 modal 顶起 动画 Curve
finalinherited
insetAnimationDuration Duration
当键盘弹出时 modal 顶起 动画 Duration
finalinherited
onLoadingTap GestureTapCallback?
Loading onTap
final
onModalTap GestureTapCallback?
Modal背景点击事件
finalinherited
padding EdgeInsetsGeometry?
padding
final
progressIndicator ProgressIndicatorOptions?
progressIndicator
final
resizeToAvoidBottomInset bool
resizeToAvoidBottomInset
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeLTRB bool
SafeArea
finalinherited
shadowColor Color?
finalinherited
shape ShapeBorder?
finalinherited
textStyle TextStyle?
Material 属性
finalinherited
type MaterialType?
finalinherited

Methods

copyWith({BoxConstraints? constraints, EdgeInsetsGeometry? padding, LoadingBuilder? builder, ProgressIndicatorOptions? progressIndicator, TextStyle? textStyle, GestureTapCallback? onLoadingTap, bool? ignoring, bool? absorbing, double? gaussian, AlignmentGeometry? alignment, GestureTapCallback? onModalTap, Color? backgroundColor, Color? foregroundColor, double? elevation, Color? shadowColor, ShapeBorder? shape, bool? borderOnForeground, BorderRadiusGeometry? borderRadius, bool? safeLTRB, bool? resizeToAvoidBottomInset, Duration? insetAnimationDuration, Curve? insetAnimationCurve}) LoadingOptions
merge([LoadingOptions? options]) LoadingOptions
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