copyWith method
GlassBottomNavStyle
copyWith({
- Color? pillTint,
- double? pillBlurSigma,
- double? pillFilmStart,
- double? pillFilmEnd,
- double? pillBorderOpacity,
- bool? showSpecularDot,
- double? pillFrostOpacity,
- Color? accent,
- double? height,
- double? radius,
- EdgeInsets? barPadding,
- double? widthFactor,
- double? edgePadding,
- double? selectedWidthFactor,
- double? selectedSideInsetPx,
- double? selectedHeightFactor,
- double? selectedInsetPx,
- bool? selectedCornerAuto,
- double? selectedBlurSigma,
- double? selectedStartOpacity,
- double? selectedEndOpacity,
- double? selectedBorderOpacity,
- double? selectedFrostOpacity,
- double? selectedRadialOpacity,
- double? selectedRadialRadiusFactor,
- Alignment? selectedRadialCenter,
- double? searchButtonSize,
- double? searchButtonBlur,
- double? searchButtonBorderWidth,
- double? searchGap,
- IconData? searchIcon,
Implementation
GlassBottomNavStyle copyWith({
Color? pillTint,
double? pillBlurSigma,
double? pillFilmStart,
double? pillFilmEnd,
double? pillBorderOpacity,
bool? showSpecularDot,
double? pillFrostOpacity,
Color? accent,
double? height,
double? radius,
EdgeInsets? barPadding,
double? widthFactor,
double? edgePadding,
double? selectedWidthFactor,
double? selectedSideInsetPx,
double? selectedHeightFactor,
double? selectedInsetPx,
bool? selectedCornerAuto,
double? selectedBlurSigma,
double? selectedStartOpacity,
double? selectedEndOpacity,
double? selectedBorderOpacity,
double? selectedFrostOpacity,
double? selectedRadialOpacity,
double? selectedRadialRadiusFactor,
Alignment? selectedRadialCenter,
double? searchButtonSize,
double? searchButtonBlur,
double? searchButtonBorderWidth,
double? searchGap,
IconData? searchIcon,
}) {
return GlassBottomNavStyle(
pillTint: pillTint ?? this.pillTint,
pillBlurSigma: pillBlurSigma ?? this.pillBlurSigma,
pillFilmStart: pillFilmStart ?? this.pillFilmStart,
pillFilmEnd: pillFilmEnd ?? this.pillFilmEnd,
pillBorderOpacity: pillBorderOpacity ?? this.pillBorderOpacity,
showSpecularDot: showSpecularDot ?? this.showSpecularDot,
pillFrostOpacity: pillFrostOpacity ?? this.pillFrostOpacity,
accent: accent ?? this.accent,
height: height ?? this.height,
radius: radius ?? this.radius,
barPadding: barPadding ?? this.barPadding,
widthFactor: widthFactor ?? this.widthFactor,
edgePadding: edgePadding ?? this.edgePadding,
selectedWidthFactor: selectedWidthFactor ?? this.selectedWidthFactor,
selectedSideInsetPx: selectedSideInsetPx ?? this.selectedSideInsetPx,
selectedHeightFactor: selectedHeightFactor ?? this.selectedHeightFactor,
selectedInsetPx: selectedInsetPx ?? this.selectedInsetPx,
selectedCornerAuto: selectedCornerAuto ?? this.selectedCornerAuto,
selectedBlurSigma: selectedBlurSigma ?? this.selectedBlurSigma,
selectedStartOpacity: selectedStartOpacity ?? this.selectedStartOpacity,
selectedEndOpacity: selectedEndOpacity ?? this.selectedEndOpacity,
selectedBorderOpacity:
selectedBorderOpacity ?? this.selectedBorderOpacity,
selectedFrostOpacity: selectedFrostOpacity ?? this.selectedFrostOpacity,
selectedRadialOpacity:
selectedRadialOpacity ?? this.selectedRadialOpacity,
selectedRadialRadiusFactor:
selectedRadialRadiusFactor ?? this.selectedRadialRadiusFactor,
selectedRadialCenter: selectedRadialCenter ?? this.selectedRadialCenter,
searchButtonSize: searchButtonSize ?? this.searchButtonSize,
searchButtonBlur: searchButtonBlur ?? this.searchButtonBlur,
searchButtonBorderWidth:
searchButtonBorderWidth ?? this.searchButtonBorderWidth,
searchGap: searchGap ?? this.searchGap,
searchIcon: searchIcon ?? this.searchIcon,
);
}