copyWith method
SfBarcodeThemeData
copyWith({
- Brightness? brightness,
- Color? backgroundColor,
- Color? barColor,
- Color? textColor,
- TextStyle? textStyle,
Creates a copy of this barcode theme data object with the matching fields replaced with the non-null parameter values.
Implementation
SfBarcodeThemeData copyWith({
Brightness? brightness,
Color? backgroundColor,
Color? barColor,
Color? textColor,
TextStyle? textStyle,
}) {
return SfBarcodeThemeData.raw(
brightness: brightness,
backgroundColor: backgroundColor ?? this.backgroundColor,
barColor: barColor ?? this.barColor,
textColor: textColor ?? this.textColor,
textStyle: textStyle ?? this.textStyle);
}