TxActionBarThemeData class
与 TxActionBarTheme 一起使用来定义后代 TxActionBar 小部件的默认属性值。
有关详细信息,请参阅各个 TxActionBar 属性。
- Inheritance
-
- Object
- ThemeExtension<
TxActionBarThemeData> - TxActionBarThemeData
- Annotations
Constructors
- TxActionBarThemeData.new({ButtonStyle? buttonStyle, ButtonStyle? iconButtonStyle, IconThemeData? iconTheme, TextStyle? leadingTextStyle, double? actionGap, double? minLeadingWidth, double? leadingGap})
-
const
Properties
- actionGap → double?
-
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconButtonStyle → ButtonStyle?
-
final
- iconTheme → IconThemeData?
-
final
- leadingGap → double?
-
final
- leadingTextStyle → TextStyle?
-
final
- minLeadingWidth → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{ButtonStyle? buttonStyle, ButtonStyle? iconButtonStyle, IconThemeData? iconTheme, TextStyle? leadingTextStyle, double? actionGap, double? minLeadingWidth, double? leadingGap}) → ThemeExtension< TxActionBarThemeData> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< TxActionBarThemeData> ? other, double t) → ThemeExtension<TxActionBarThemeData> -
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