copyWith method

RadioFieldTheme copyWith({
  1. TextStyle? textStyle,
  2. MaterialStateProperty<Color?>? textColor,
  3. InputDecorationTheme? decorationTheme,
  4. RadioThemeData? radioTheme,
  5. bool? canTapItemTile,
  6. bool? canDeselect,
})

Implementation

RadioFieldTheme copyWith({
  TextStyle? textStyle,
  MaterialStateProperty<Color?>? textColor,
  InputDecorationTheme? decorationTheme,
  RadioThemeData? radioTheme,
  bool? canTapItemTile,
  bool? canDeselect,
}) {
  return RadioFieldTheme(
    textStyle: textStyle ?? this.textStyle,
    textColor: textColor ?? this.textColor,
    decorationTheme: decorationTheme ?? this.decorationTheme,
    radioTheme: radioTheme ?? this.radioTheme,
    canTapItemTile: canTapItemTile ?? this.canTapItemTile,
    canDeselect: canDeselect ?? this.canDeselect,
  );
}