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