TxLoadingThemeData class

TxLoadingTheme 一起使用来定义后代 TxLoading 小部件的默认属性值。

有关详细信息,请参阅各个 TxLoading 属性。

Inheritance
Annotations

Constructors

TxLoadingThemeData.new({Widget? child, TextStyle? textStyle, IconThemeData? iconTheme, Duration? period, ShimmerDirection? direction, Gradient? gradient})
const
TxLoadingThemeData.formColors({required Color baseColor, required Color highlightColor, Widget? child, TextStyle? textStyle, IconThemeData? iconTheme, Duration? period, ShimmerDirection? direction})

Properties

child Widget?
final
direction ShimmerDirection?
final
gradient Gradient?
final
hashCode int
The hash code for this object.
no setterinherited
iconTheme IconThemeData?
final
period Duration?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({Widget? child, TextStyle? textStyle, IconThemeData? iconTheme, Color? baseColor, Color? highlightColor, Duration? period, ShimmerDirection? direction, Gradient? gradient}) ThemeExtension<TxLoadingThemeData>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<TxLoadingThemeData>? other, double t) ThemeExtension<TxLoadingThemeData>
Linearly interpolate with another ThemeExtension object.
override
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