copyWith method
QuranTopBarStyle
copyWith({
- String? backIconPath,
- Color? backgroundColor,
- Color? textColor,
- Color? accentColor,
- Color? shadowColor,
- Color? handleColor,
- double? elevation,
- double? borderRadius,
- EdgeInsetsGeometry? padding,
- double? height,
- 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,
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,
);