TxFormFieldThemeData class

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

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

Inheritance
Annotations

Constructors

TxFormFieldThemeData({InputDecorationTheme? inputDecorationTheme, bool? bordered})
const

Properties

bordered bool?
覆盖 TxFormField.bordered 的默认值。
final
hashCode int
The hash code for this object.
no setteroverride
inputDecorationTheme InputDecorationTheme?
覆盖 TxFormField.decoration 的默认值。
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The extension's type.
no setterinherited

Methods

copyWith({TextAlign? textAlign, InputDecorationTheme? inputDecorationTheme, bool? bordered}) ThemeExtension<TxFormFieldThemeData>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<TxFormFieldThemeData>? other, double t) ThemeExtension<TxFormFieldThemeData>
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.
override