copyWith method

ButtonLookAndFeel copyWith({
  1. String? backgroundColor,
  2. String? color,
})

Implementation

ButtonLookAndFeel copyWith({String? backgroundColor, String? color}) {
  return ButtonLookAndFeel(
    backgroundColor: backgroundColor ?? this.backgroundColor,
    color: color ?? this.color,
  );
}