SurahHeaderWidget constructor

SurahHeaderWidget(
  1. int surahNumber, {
  2. Key? key,
  3. BannerStyle? bannerStyle,
  4. SurahNameStyle? surahNameStyle,
  5. void onSurahBannerPress(
    1. SurahNamesModel surah
    )?,
  6. SurahInfoStyle? surahInfoStyle,
  7. required bool isDark,
})

Implementation

SurahHeaderWidget(
  this.surahNumber, {
  super.key,
  this.bannerStyle,
  this.surahNameStyle,
  this.onSurahBannerPress,
  this.surahInfoStyle,
  required this.isDark,
});