copyWith method
JuiSelectPickerUIConfig
copyWith(
{ - BorderRadius? topBorderRadius,
- Color? backgroundColor,
- double? maxHeight,
- Color? barrierColor,
- bool? isScrollControlled,
- bool? enableDrag,
- TextStyle? itemTextStyle,
- Color? selectedItemColor,
- int? maxLines,
- bool? shrinkWrap,
})
Implementation
JuiSelectPickerUIConfig copyWith({
BorderRadius? topBorderRadius,
Color? backgroundColor,
double? maxHeight,
Color? barrierColor,
bool? isScrollControlled,
bool? enableDrag,
TextStyle? itemTextStyle,
Color? selectedItemColor,
int? maxLines,
bool? shrinkWrap,
}) {
return JuiSelectPickerUIConfig(
topBorderRadius: topBorderRadius ?? this.topBorderRadius,
backgroundColor: backgroundColor ?? this.backgroundColor,
maxHeight: maxHeight ?? this.maxHeight,
barrierColor: barrierColor ?? this.barrierColor,
isScrollControlled: isScrollControlled ?? this.isScrollControlled,
enableDrag: enableDrag ?? this.enableDrag,
itemTextStyle: itemTextStyle ?? this.itemTextStyle,
selectedItemColor: selectedItemColor ?? this.selectedItemColor,
maxLines: maxLines ?? this.maxLines,
shrinkWrap: shrinkWrap ?? this.shrinkWrap,
);
}