copyWith method
TButtonGroupTheme
copyWith({
- TButtonGroupType? type,
- TButtonSize? size,
- Color? color,
- double? spacing,
- double? borderRadius,
- bool? enableBoxedMode,
- EdgeInsetsGeometry? boxedPadding,
- BoxDecoration? boxedDecoration,
- double? separatorWidth,
- Color? separatorColor,
Implementation
TButtonGroupTheme copyWith({
TButtonGroupType? type,
TButtonSize? size,
Color? color,
double? spacing,
double? borderRadius,
bool? enableBoxedMode,
EdgeInsetsGeometry? boxedPadding,
BoxDecoration? boxedDecoration,
double? separatorWidth,
Color? separatorColor,
}) {
return TButtonGroupTheme(
type: type ?? this.type,
size: size ?? this.size,
color: color ?? this.color,
spacing: spacing ?? this.spacing,
borderRadius: borderRadius ?? this.borderRadius,
enableBoxedMode: enableBoxedMode ?? this.enableBoxedMode,
boxedPadding: boxedPadding ?? this.boxedPadding,
boxedDecoration: boxedDecoration ?? this.boxedDecoration,
separatorWidth: separatorWidth ?? this.separatorWidth,
separatorColor: separatorColor ?? this.separatorColor,
);
}