copyWith method

ButtonsStyle copyWith({
  1. Color? backgroundColor,
  2. Color? textColor,
  3. double? radius,
  4. bool? visible,
  5. String? text,
})

Implementation

ButtonsStyle copyWith({
  Color? backgroundColor,
  Color? textColor,
  double? radius,
  bool? visible,
  String? text,
}) {
  return new ButtonsStyle(
    backgroundColor: backgroundColor ?? this.backgroundColor,
    textColor: textColor ?? this.textColor,
    radius: radius ?? this.radius,
    visible: visible ?? this.visible,
    text: text ?? this.text,
  );
}