copyWith method

BetterCellTheme copyWith({
  1. BorderRadiusGeometry? borderRadius,
  2. Color? backgroundColor,
  3. EdgeInsetsGeometry? padding,
  4. TextStyle? titleTextStyle,
  5. TextStyle? valueTextStyle,
  6. BoxBorder? border,
  7. double? arrowRightSize,
  8. Color? arrowRightColor,
  9. double? arrowRightMarginLeft,
  10. Color? overlayColor,
})

Implementation

BetterCellTheme copyWith({
  BorderRadiusGeometry? borderRadius,
  Color? backgroundColor,
  EdgeInsetsGeometry? padding,
  TextStyle? titleTextStyle,
  TextStyle? valueTextStyle,
  BoxBorder? border,
  double? arrowRightSize,
  Color? arrowRightColor,
  double? arrowRightMarginLeft,
  Color? overlayColor,
}) {
  return BetterCellTheme(
    borderRadius: borderRadius ?? this.borderRadius,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    padding: padding ?? this.padding,
    titleTextStyle: titleTextStyle ?? this.titleTextStyle,
    valueTextStyle: valueTextStyle ?? this.valueTextStyle,
    border: border ?? this.border,
    arrowRightSize: arrowRightSize ?? this.arrowRightSize,
    arrowRightColor: arrowRightColor ?? this.arrowRightColor,
    arrowRightMarginLeft: arrowRightMarginLeft ?? this.arrowRightMarginLeft,
    overlayColor: overlayColor ?? this.overlayColor,
  );
}