copyWith method
FlutterTagStyle
copyWith({
- FlutterTagShape? shape,
- SharpBorderRadius? borderRadius,
- Color? tagColor,
- BorderSide? borderSide,
- double? elevation,
- FlutterTagGradient? tagGradient,
- FlutterTagGradient? borderGradient,
- EdgeInsetsGeometry? padding,
Implementation
FlutterTagStyle copyWith(
{FlutterTagShape? shape,
SharpBorderRadius? borderRadius,
Color? tagColor,
BorderSide? borderSide,
double? elevation,
FlutterTagGradient? tagGradient,
FlutterTagGradient? borderGradient,
EdgeInsetsGeometry? padding}) {
return FlutterTagStyle(
shape: shape ?? this.shape,
borderRadius: borderRadius ?? this.borderRadius,
tagColor: tagColor ?? this.tagColor,
borderSide: borderSide ?? this.borderSide,
elevation: elevation ?? this.elevation,
tagGradient: tagGradient ?? this.tagGradient,
borderGradient: borderGradient ?? this.borderGradient,
padding: padding ?? this.padding,
);
}