copyWith method
SWrapThemeData
copyWith({
- double? runSpacing,
- double? spacing,
- EdgeInsets? itemPadding,
- TextStyle? selectedStyle,
- TextStyle? unselectedStyle,
- BoxDecoration? selectedDecoration,
- BoxDecoration? unselectedDecoration,
Implementation
SWrapThemeData copyWith({
double? runSpacing,
double? spacing,
EdgeInsets? itemPadding,
TextStyle? selectedStyle,
TextStyle? unselectedStyle,
BoxDecoration? selectedDecoration,
BoxDecoration? unselectedDecoration,
}) {
return SWrapThemeData(
runSpacing: runSpacing ?? this.runSpacing,
spacing: spacing ?? this.spacing,
itemPadding: itemPadding ?? this.itemPadding,
selectedStyle: selectedStyle ?? this.selectedStyle,
unselectedStyle: unselectedStyle ?? this.unselectedStyle,
selectedDecoration: selectedDecoration ?? this.selectedDecoration,
unselectedDecoration: unselectedDecoration ?? this.unselectedDecoration,
);
}