TextFieldTheme constructor

const TextFieldTheme({
  1. TextStyle? textStyle,
  2. MaterialStateProperty<Color?>? textColor,
  3. InputDecorationTheme? decorationTheme,
  4. TextAlign? textAlign,
  5. @Deprecated('Use clearSuffixButtonTheme.icon') Widget? clearIcon,
  6. ClearSuffixButtonTheme clearSuffixButtonTheme = const ClearSuffixButtonTheme(),
  7. @Deprecated('Use obscureSuffixButtonTheme.trueIcon') Widget? obscureTrueIcon,
  8. @Deprecated('Use obscureSuffixButtonTheme.falseIcon') Widget? obscureFalseIcon,
  9. ObscureSuffixButtonTheme obscureSuffixButtonTheme = const ObscureSuffixButtonTheme(),
  10. 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,
      );