copyWith method
RadioFieldTheme
copyWith({
- TextStyle? textStyle,
- MaterialStateProperty<
Color?> ? textColor, - InputDecorationTheme? decorationTheme,
- RadioThemeData? radioTheme,
- bool? canTapItemTile,
- 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,
);
}