TxBadgeThemeData class

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

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

Inheritance

Constructors

TxBadgeThemeData({ShapeBorder? shape, BadgeThemeData? badgeTheme})
const

Properties

badgeTheme BadgeThemeData?
覆盖 TxBadge 其它属性默认值
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeBorder?
覆盖 TxBadge.shape 的默认值。
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({ShapeBorder? shape, BadgeThemeData? badgeTheme}) ThemeExtension<TxBadgeThemeData>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<TxBadgeThemeData>? other, double t) ThemeExtension<TxBadgeThemeData>
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