copyWith method
HMMultiSelectTheme
copyWith({
- HMSelectSize? size,
- Color? selectIconColor,
- Color? overlayColor,
- bool? selectIconAtLeft,
- HMRadius? radius,
- Color? fillColor,
- Widget? inputIcon,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
HMMultiSelectTheme copyWith({
HMSelectSize? size,
Color? selectIconColor,
Color? overlayColor,
bool? selectIconAtLeft,
HMRadius? radius,
Color? fillColor,
Widget? inputIcon,
}) {
return HMMultiSelectTheme(
selectIconColor: selectIconColor ?? this.selectIconColor,
overlayColor: overlayColor ?? this.overlayColor,
fillColor: fillColor ?? this.fillColor,
inputIcon: inputIcon ?? this.inputIcon,
radius: radius ?? this.radius,
selectIconAtLeft: selectIconAtLeft ?? this.selectIconAtLeft,
size: size ?? this.size,
);
}