copyWith method
SurahInfoStyle
copyWith(
{ - Color? backgroundColor,
- Color? closeIconColor,
- Color? surahNameColor,
- Color? surahNumberColor,
- Color? primaryColor,
- Color? titleColor,
- Color? indicatorColor,
- Color? textColor,
- String? ayahCount,
- String? secondTabText,
- String? firstTabText,
- double? bottomSheetWidth,
- double? bottomSheetHeight,
})
Implementation
SurahInfoStyle copyWith({
Color? backgroundColor,
Color? closeIconColor,
Color? surahNameColor,
Color? surahNumberColor,
Color? primaryColor,
Color? titleColor,
Color? indicatorColor,
Color? textColor,
String? ayahCount,
String? secondTabText,
String? firstTabText,
double? bottomSheetWidth,
double? bottomSheetHeight,
}) {
return SurahInfoStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
closeIconColor: closeIconColor ?? this.closeIconColor,
surahNameColor: surahNameColor ?? this.surahNameColor,
surahNumberColor: surahNumberColor ?? this.surahNumberColor,
primaryColor: primaryColor ?? this.primaryColor,
titleColor: titleColor ?? this.titleColor,
indicatorColor: indicatorColor ?? this.indicatorColor,
textColor: textColor ?? this.textColor,
ayahCount: ayahCount ?? this.ayahCount,
secondTabText: secondTabText ?? this.secondTabText,
firstTabText: firstTabText ?? this.firstTabText,
bottomSheetWidth: bottomSheetWidth ?? this.bottomSheetWidth,
bottomSheetHeight: bottomSheetHeight ?? this.bottomSheetHeight,
);
}