SfBarcodeThemeData.raw constructor
SfBarcodeThemeData.raw({
- Brightness? brightness,
- Color? backgroundColor,
- Color? barColor,
- Color? textColor,
- TextStyle? textStyle,
Create a SfBarcodeThemeData given a set of exact values. All the values must be specified.
This will rarely be used directly. It is used by lerp to create intermediate themes based on two themes created with the SfBarcodeThemeData constructor.
Implementation
factory SfBarcodeThemeData.raw({
Brightness? brightness,
Color? backgroundColor,
Color? barColor,
Color? textColor,
TextStyle? textStyle,
}) {
brightness = brightness ?? Brightness.light;
return SfBarcodeThemeData(
backgroundColor: backgroundColor,
barColor: barColor,
textColor: textColor,
textStyle: textStyle,
);
}