QuranLibraryScreen constructor
const
QuranLibraryScreen({
- Key? key,
- PreferredSizeWidget? appBar,
- Color? ayahIconColor,
- Color? ayahSelectedBackgroundColor,
- Color? ayahSelectedFontColor,
- BannerStyle? bannerStyle,
- BasmalaStyle? basmalaStyle,
- Color? backgroundColor,
- List bookmarkList = const [],
- Color? bookmarksColor,
- Widget? circularProgressWidget,
- DownloadFontsDialogStyle? downloadFontsDialogStyle,
- bool isDark = false,
- String? juzName,
- String? languageCode = 'ar',
- void onAyahLongPress(
- LongPressStartDetails details,
- AyahModel ayah
- dynamic onPageChanged(
- int pageNumber
- VoidCallback? onPagePress,
- void onSurahBannerPress(
- SurahNamesModel surah
- int pageIndex = 0,
- String? sajdaName,
- bool showAyahBookmarkedIcon = true,
- SurahInfoStyle? surahInfoStyle,
- SurahNameStyle? surahNameStyle,
- int? surahNumber,
- Color? textColor,
- List<
Color?> ? singleAyahTextColors, - Widget? topTitleChild,
- bool useDefaultAppBar = true,
- bool withPageView = true,
- bool? isFontsLocal = false,
- String? fontsName = '',
- List<
int> ? ayahBookmarked = const [], - Widget? anotherMenuChild,
- void anotherMenuChildOnTap(
- AyahModel ayah
- Widget? secondMenuChild,
- void secondMenuChildOnTap(
- AyahModel ayah
- AyahAudioStyle? ayahStyle,
- SurahAudioStyle? surahStyle,
- bool? isShowAudioSlider = true,
- String? appIconUrlForPlayAudioInBackground,
- required BuildContext parentContext,
Creates a new instance of QuranLibraryScreen.
This constructor is used to create a new instance of the QuranLibraryScreen widget.
Implementation
const QuranLibraryScreen({
super.key,
this.appBar,
this.ayahIconColor,
this.ayahSelectedBackgroundColor,
this.ayahSelectedFontColor,
this.bannerStyle,
this.basmalaStyle,
this.backgroundColor,
this.bookmarkList = const [],
this.bookmarksColor,
this.circularProgressWidget,
this.downloadFontsDialogStyle,
this.isDark = false,
this.juzName,
this.languageCode = 'ar',
this.onAyahLongPress,
this.onPageChanged,
this.onPagePress,
this.onSurahBannerPress,
this.pageIndex = 0,
this.sajdaName,
this.showAyahBookmarkedIcon = true,
this.surahInfoStyle,
this.surahNameStyle,
this.surahNumber,
this.textColor,
this.singleAyahTextColors,
this.topTitleChild,
this.useDefaultAppBar = true,
this.withPageView = true,
this.isFontsLocal = false,
this.fontsName = '',
this.ayahBookmarked = const [],
this.anotherMenuChild,
this.anotherMenuChildOnTap,
this.secondMenuChild,
this.secondMenuChildOnTap,
this.ayahStyle,
this.surahStyle,
this.isShowAudioSlider = true,
this.appIconUrlForPlayAudioInBackground,
required this.parentContext,
});