copyWith method
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,
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,
);
}