copyWith method
FieldStylePicker
copyWith({
- BottomModalSheetStyle? bottomModalSheetStyle,
- double? containerHeight,
- EdgeInsets? containerPadding,
- BorderRadius? containerBorderRadius,
- NyColor? containerColor,
- TextStyle? selectedValueTextStyle,
- TextStyle? fieldNameTextStyle,
- TextStyle? placeholderTextStyle,
- String? placeholderPrefix,
- IconData? dropdownIcon,
- NyColor? dropdownIconColor,
- double? bottomSheetHeightFactor,
- BorderRadius? bottomSheetBorderRadius,
- EdgeInsets? bottomSheetPadding,
- NyColor? bottomSheetDividerColor,
- double? placeholderGap,
- double? widthBreakpoint,
- double? headerSpacing,
override
Implementation
@override
FieldStylePicker copyWith({
BottomModalSheetStyle? bottomModalSheetStyle,
double? containerHeight,
EdgeInsets? containerPadding,
BorderRadius? containerBorderRadius,
NyColor? containerColor,
TextStyle? selectedValueTextStyle,
TextStyle? fieldNameTextStyle,
TextStyle? placeholderTextStyle,
String? placeholderPrefix,
IconData? dropdownIcon,
NyColor? dropdownIconColor,
double? bottomSheetHeightFactor,
BorderRadius? bottomSheetBorderRadius,
EdgeInsets? bottomSheetPadding,
NyColor? bottomSheetDividerColor,
double? placeholderGap,
double? widthBreakpoint,
double? headerSpacing,
double? footerSpacing,
}) {
return FieldStylePicker(
bottomModalSheetStyle:
bottomModalSheetStyle ?? this.bottomModalSheetStyle,
containerHeight: containerHeight ?? this.containerHeight,
containerPadding: containerPadding ?? this.containerPadding,
containerBorderRadius:
containerBorderRadius ?? this.containerBorderRadius,
containerColor: containerColor ?? this.containerColor,
selectedValueTextStyle:
selectedValueTextStyle ?? this.selectedValueTextStyle,
fieldNameTextStyle: fieldNameTextStyle ?? this.fieldNameTextStyle,
placeholderTextStyle: placeholderTextStyle ?? this.placeholderTextStyle,
placeholderPrefix: placeholderPrefix ?? this.placeholderPrefix,
dropdownIcon: dropdownIcon ?? this.dropdownIcon,
dropdownIconColor: dropdownIconColor ?? this.dropdownIconColor,
bottomSheetHeightFactor:
bottomSheetHeightFactor ?? this.bottomSheetHeightFactor,
bottomSheetBorderRadius:
bottomSheetBorderRadius ?? this.bottomSheetBorderRadius,
bottomSheetPadding: bottomSheetPadding ?? this.bottomSheetPadding,
bottomSheetDividerColor:
bottomSheetDividerColor ?? this.bottomSheetDividerColor,
placeholderGap: placeholderGap ?? this.placeholderGap,
widthBreakpoint: widthBreakpoint ?? this.widthBreakpoint,
headerSpacing: headerSpacing ?? this.headerSpacing,
footerSpacing: footerSpacing ?? this.footerSpacing,
);
}