copyWith method

TopBottomQuranStyle copyWith({
  1. String? juzName,
  2. String? sajdaName,
  3. String? surahName,
  4. Widget? topTitleChild,
  5. TopBottomCustomChildBuilder? customChildBuilder,
  6. String? hizbName,
  7. Color? surahNameColor,
  8. Color? juzTextColor,
  9. Color? hizbTextColor,
  10. Color? pageNumberColor,
  11. 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,
  );
}