copyWith method

SWrapThemeData copyWith({
  1. double? runSpacing,
  2. double? spacing,
  3. EdgeInsets? itemPadding,
  4. TextStyle? selectedStyle,
  5. TextStyle? unselectedStyle,
  6. BoxDecoration? selectedDecoration,
  7. 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,
  );
}