SwitchFieldTheme constructor

const SwitchFieldTheme({
  1. TextStyle? textStyle,
  2. MaterialStateProperty<Color?>? textColor,
  3. InputDecorationTheme? decorationTheme,
  4. SwitchThemeData? switchTheme,
  5. FieldBlocBuilderControlAffinity? controlAffinity,
})

Implementation

const SwitchFieldTheme({
  TextStyle? textStyle,
  MaterialStateProperty<Color?>? textColor,
  InputDecorationTheme? decorationTheme,
  this.switchTheme,
  this.controlAffinity,
}) : super(
        textStyle: textStyle,
        textColor: textColor,
        decorationTheme: decorationTheme,
      );