copyWith method
Implementation
DeviceKeyboardStyle copyWith({
Color? backgroundColor,
Color? button1BackgroundColor,
Color? button1ForegroundColor,
Color? button2BackgroundColor,
Color? button2ForegroundColor,
}) {
return DeviceKeyboardStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
button1BackgroundColor: button1BackgroundColor ?? this.button1BackgroundColor,
button1ForegroundColor: button1ForegroundColor ?? this.button1ForegroundColor,
button2BackgroundColor: button2BackgroundColor ?? this.button2BackgroundColor,
button2ForegroundColor: button2ForegroundColor ?? this.button2ForegroundColor,
);
}