TxDetailThemeData class
与 TxDetailTheme 一起使用来定义后代 TxDetailView 小部件的默认属性值。
有关详细信息,请参阅各个 TxDetailView 属性。
- Inheritance
-
- Object
- ThemeExtension<
TxDetailThemeData> - TxDetailThemeData
- Annotations
Constructors
- TxDetailThemeData.new({Widget? separator, bool? dense, EdgeInsetsGeometry? padding, double? minLabelWidth, Decoration? decoration, TextStyle? contentTextStyle, TextStyle? labelTextStyle, TextAlign? contentTextAlign, VisualDensity? visualDensity})
-
const
Properties
- contentTextAlign → TextAlign?
-
final
- contentTextStyle → TextStyle?
-
final
- decoration → Decoration?
-
final
- dense → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelTextStyle → TextStyle?
-
final
- minLabelWidth → double?
-
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separator → Widget?
-
final
- type → Object
-
The extension's type.
no setterinherited
- visualDensity → VisualDensity?
-
final
Methods
-
copyWith(
{Decoration? decoration, EdgeInsetsGeometry? padding, Widget? separator, TextStyle? contentTextStyle, TextStyle? labelTextStyle, double? minLabelWidth, bool? dense, VisualDensity? visualDensity, TextAlign? contentTextAlign}) → ThemeExtension< TxDetailThemeData> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< TxDetailThemeData> ? other, double t) → ThemeExtension<TxDetailThemeData> -
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