copyWith method

QuranTopBarStyle copyWith({
  1. String? backIconPath,
  2. Color? backgroundColor,
  3. Color? textColor,
  4. Color? accentColor,
  5. Color? shadowColor,
  6. Color? handleColor,
  7. double? elevation,
  8. double? borderRadius,
  9. EdgeInsetsGeometry? padding,
  10. double? height,
  11. IconData? menuIcon,
  12. String? audioIconPath,
  13. double? iconSize,
  14. Color? iconColor,
  15. String? fontsDialogTitle,
  16. String? fontsDialogNotes,
  17. String? fontsDialogDownloadingText,
  18. String? tabIndexLabel,
  19. String? tabSearchLabel,
  20. String? tabBookmarksLabel,
  21. String? tabSurahsLabel,
  22. String? tabJozzLabel,
  23. bool? showMenuButton,
  24. bool? showAudioButton,
  25. bool? showFontsButton,
  26. bool? showBackButton,
  27. String? optionsIconPath,
})

Implementation

QuranTopBarStyle copyWith({
  String? backIconPath,
  Color? backgroundColor,
  Color? textColor,
  Color? accentColor,
  Color? shadowColor,
  Color? handleColor,
  double? elevation,
  double? borderRadius,
  EdgeInsetsGeometry? padding,
  double? height,
  IconData? menuIcon,
  String? audioIconPath,
  double? iconSize,
  Color? iconColor,
  String? fontsDialogTitle,
  String? fontsDialogNotes,
  String? fontsDialogDownloadingText,
  String? tabIndexLabel,
  String? tabSearchLabel,
  String? tabBookmarksLabel,
  String? tabSurahsLabel,
  String? tabJozzLabel,
  bool? showMenuButton,
  bool? showAudioButton,
  bool? showFontsButton,
  bool? showBackButton,
  String? optionsIconPath,
}) =>
    QuranTopBarStyle(
      backIconPath: backIconPath ?? this.backIconPath,
      backgroundColor: backgroundColor ?? this.backgroundColor,
      textColor: textColor ?? this.textColor,
      accentColor: accentColor ?? this.accentColor,
      shadowColor: shadowColor ?? this.shadowColor,
      handleColor: handleColor ?? this.handleColor,
      elevation: elevation ?? this.elevation,
      borderRadius: borderRadius ?? this.borderRadius,
      padding: padding ?? this.padding,
      height: height ?? this.height,
      menuIconPath: menuIconPath ?? menuIconPath,
      audioIconPath: audioIconPath ?? this.audioIconPath,
      iconSize: iconSize ?? this.iconSize,
      iconColor: iconColor ?? this.iconColor,
      fontsDialogTitle: fontsDialogTitle ?? this.fontsDialogTitle,
      fontsDialogNotes: fontsDialogNotes ?? this.fontsDialogNotes,
      fontsDialogDownloadingText:
          fontsDialogDownloadingText ?? this.fontsDialogDownloadingText,
      tabIndexLabel: tabIndexLabel ?? this.tabIndexLabel,
      tabSearchLabel: tabSearchLabel ?? this.tabSearchLabel,
      tabBookmarksLabel: tabBookmarksLabel ?? this.tabBookmarksLabel,
      tabSurahsLabel: tabSurahsLabel ?? this.tabSurahsLabel,
      tabJozzLabel: tabJozzLabel ?? this.tabJozzLabel,
      showMenuButton: showMenuButton ?? this.showMenuButton,
      showAudioButton: showAudioButton ?? this.showAudioButton,
      showFontsButton: showFontsButton ?? this.showFontsButton,
      showBackButton: showBackButton ?? this.showBackButton,
      optionsIconPath: optionsIconPath ?? this.optionsIconPath,
    );