copyWith method
ThemeExtension<TxFormFieldThemeData>
copyWith({
- TextAlign? textAlign,
- InputDecorationTheme? inputDecorationTheme,
- bool? bordered,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
ThemeExtension<TxFormFieldThemeData> copyWith({
TextAlign? textAlign,
InputDecorationTheme? inputDecorationTheme,
bool? bordered,
}) {
return TxFormFieldThemeData(
inputDecorationTheme: inputDecorationTheme ?? this.inputDecorationTheme,
bordered: bordered ?? this.bordered,
);
}