copyWith method

GlassBottomNavStyle copyWith({
  1. Color? pillTint,
  2. double? pillBlurSigma,
  3. double? pillFilmStart,
  4. double? pillFilmEnd,
  5. double? pillBorderOpacity,
  6. bool? showSpecularDot,
  7. double? pillFrostOpacity,
  8. Color? accent,
  9. double? height,
  10. double? radius,
  11. EdgeInsets? barPadding,
  12. double? widthFactor,
  13. double? edgePadding,
  14. double? selectedWidthFactor,
  15. double? selectedSideInsetPx,
  16. double? selectedHeightFactor,
  17. double? selectedInsetPx,
  18. bool? selectedCornerAuto,
  19. double? selectedBlurSigma,
  20. double? selectedStartOpacity,
  21. double? selectedEndOpacity,
  22. double? selectedBorderOpacity,
  23. double? selectedFrostOpacity,
  24. double? selectedRadialOpacity,
  25. double? selectedRadialRadiusFactor,
  26. Alignment? selectedRadialCenter,
  27. double? searchButtonSize,
  28. double? searchButtonBlur,
  29. double? searchButtonBorderWidth,
  30. double? searchGap,
  31. 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,
  );
}