copyWith method

SpinnerHeaderTheme copyWith({
  1. double? height,
  2. EdgeInsets? padding,
  3. TextStyle? style,
  4. TextStyle? selectedStyle,
  5. Color? bgColor,
  6. Color? arrowColor,
  7. bool? selectedMark,
  8. bool? isShowBorder,
  9. bool? outsideFocus,
  10. double? iconSize,
  11. TextDirection? textDirection,
  12. EdgeInsets? iconPading,
  13. bool? isIconAnimate,
})

Implementation

SpinnerHeaderTheme copyWith({
  double? height,
  EdgeInsets? padding,
  TextStyle? style,
  TextStyle? selectedStyle,
  Color? bgColor,
  Color? arrowColor,
  bool? selectedMark,
  bool? isShowBorder,
  bool? outsideFocus,
  double? iconSize,
  TextDirection? textDirection,
  EdgeInsets? iconPading,
  bool? isIconAnimate,
}) {
  return SpinnerHeaderTheme(
    height: height ?? this.height,
    padding: padding ?? this.padding,
    style: style ?? this.style,
    selectedStyle: selectedStyle ?? this.selectedStyle,
    bgColor: bgColor ?? this.bgColor,
    arrowColor: arrowColor ?? this.arrowColor,
    selectedMark: selectedMark ?? this.selectedMark,
    isShowBorder: isShowBorder ?? this.isShowBorder,
    outsideFocus: outsideFocus ?? this.outsideFocus,
    iconSize: iconSize ?? this.iconSize,
    textDirection: textDirection ?? this.textDirection,
    iconPading: iconPading ?? this.iconPading,
    isIconAnimate: isIconAnimate ?? this.isIconAnimate,
  );
}