TextFieldTheme constructor
const
TextFieldTheme({
- TextStyle? textStyle,
- MaterialStateProperty<
Color?> ? textColor, - InputDecorationTheme? decorationTheme,
- TextAlign? textAlign,
- @Deprecated('Use clearSuffixButtonTheme.icon') Widget? clearIcon,
- ClearSuffixButtonTheme clearSuffixButtonTheme = const ClearSuffixButtonTheme(),
- @Deprecated('Use obscureSuffixButtonTheme.trueIcon') Widget? obscureTrueIcon,
- @Deprecated('Use obscureSuffixButtonTheme.falseIcon') Widget? obscureFalseIcon,
- ObscureSuffixButtonTheme obscureSuffixButtonTheme = const ObscureSuffixButtonTheme(),
- TextStyle? suggestionsTextStyle,
Implementation
const TextFieldTheme({
TextStyle? textStyle,
MaterialStateProperty<Color?>? textColor,
InputDecorationTheme? decorationTheme,
this.textAlign,
@Deprecated('Use clearSuffixButtonTheme.icon') this.clearIcon,
this.clearSuffixButtonTheme = const ClearSuffixButtonTheme(),
@Deprecated('Use obscureSuffixButtonTheme.trueIcon') this.obscureTrueIcon,
@Deprecated('Use obscureSuffixButtonTheme.falseIcon') this.obscureFalseIcon,
this.obscureSuffixButtonTheme = const ObscureSuffixButtonTheme(),
this.suggestionsTextStyle,
}) : super(
textStyle: textStyle,
textColor: textColor,
decorationTheme: decorationTheme,
);