copyWith method
TopBottomQuranStyle
copyWith(
{ - String? juzName,
- String? sajdaName,
- String? surahName,
- Widget? topTitleChild,
- TopBottomCustomChildBuilder? customChildBuilder,
- String? hizbName,
- Color? surahNameColor,
- Color? juzTextColor,
- Color? hizbTextColor,
- Color? pageNumberColor,
- Color? sajdaNameColor,
})
Implementation
TopBottomQuranStyle copyWith({
String? juzName,
String? sajdaName,
String? surahName,
Widget? topTitleChild,
TopBottomCustomChildBuilder? customChildBuilder,
String? hizbName,
Color? surahNameColor,
Color? juzTextColor,
Color? hizbTextColor,
Color? pageNumberColor,
Color? sajdaNameColor,
}) {
return TopBottomQuranStyle(
juzName: juzName ?? this.juzName,
sajdaName: sajdaName ?? this.sajdaName,
surahName: surahName ?? this.surahName,
customChild: topTitleChild ?? customChild,
customChildBuilder: customChildBuilder ?? this.customChildBuilder,
hizbName: hizbName ?? this.hizbName,
surahNameColor: surahNameColor ?? this.surahNameColor,
juzTextColor: juzTextColor ?? this.juzTextColor,
hizbTextColor: hizbTextColor ?? this.hizbTextColor,
pageNumberColor: pageNumberColor ?? this.pageNumberColor,
sajdaNameColor: sajdaNameColor ?? this.sajdaNameColor,
);
}