copyWith method
CheckboxFieldTheme
copyWith({
- TextStyle? textStyle,
- MaterialStateProperty<
Color?> ? textColor, - InputDecorationTheme? decorationTheme,
- CheckboxThemeData? checkboxTheme,
- FieldBlocBuilderControlAffinity? controlAffinity,
- bool? canTapItemTile,
Implementation
CheckboxFieldTheme copyWith({
TextStyle? textStyle,
MaterialStateProperty<Color?>? textColor,
InputDecorationTheme? decorationTheme,
CheckboxThemeData? checkboxTheme,
FieldBlocBuilderControlAffinity? controlAffinity,
bool? canTapItemTile,
}) {
return CheckboxFieldTheme(
textStyle: textStyle ?? this.textStyle,
textColor: textColor ?? this.textColor,
decorationTheme: decorationTheme ?? this.decorationTheme,
checkboxTheme: checkboxTheme ?? this.checkboxTheme,
controlAffinity: controlAffinity ?? this.controlAffinity,
canTapItemTile: canTapItemTile ?? this.canTapItemTile,
);
}