lerp static method
Returns the barcode theme data
Implementation
static SfBarcodeThemeData? lerp(
SfBarcodeThemeData? a,
SfBarcodeThemeData? b,
double t,
) {
if (a == null && b == null) {
return null;
}
return SfBarcodeThemeData(
backgroundColor: Color.lerp(a!.backgroundColor, b!.backgroundColor, t),
barColor: Color.lerp(a.barColor, b.barColor, t),
textColor: Color.lerp(a.textColor, b.textColor, t),
textStyle: TextStyle.lerp(a.textStyle, b.textStyle, t),
);
}