copyWith method
BetterCellTheme
copyWith({
- BorderRadiusGeometry? borderRadius,
- Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- TextStyle? titleTextStyle,
- TextStyle? valueTextStyle,
- BoxBorder? border,
- double? arrowRightSize,
- Color? arrowRightColor,
- double? arrowRightMarginLeft,
- 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,
);
}