SurahDisplayScreen class

شاشة لعرض سورة واحدة فقط باستخدام SurahCtrl Screen for displaying a single surah only using SurahCtrl

Inheritance
Available extensions

Constructors

SurahDisplayScreen({Key? key, required int surahNumber, required BuildContext parentContext, PreferredSizeWidget? appBar, Color? ayahIconColor, Color? ayahSelectedBackgroundColor, Color? ayahSelectedFontColor, BannerStyle? bannerStyle, BasmalaStyle? basmalaStyle, Color? backgroundColor, List bookmarkList = const [], Color? bookmarksColor, Color? customBookmarksColor(AyahModel)?, Widget? circularProgressWidget, bool isDark = false, String? appLanguageCode, void onAyahLongPress(LongPressStartDetails details, AyahModel ayah)?, dynamic onPageChanged(int pageNumber)?, VoidCallback? onPagePress, void onSurahBannerPress(SurahNamesModel surah)?, bool showAyahBookmarkedIcon = true, SurahInfoStyle? surahInfoStyle, SurahNameStyle? surahNameStyle, Color? textColor, bool useDefaultAppBar = true, List<int> ayahBookmarked = const [], bool isAyahBookmarked(AyahModel ayah)?, AyahAudioStyle? ayahStyle, SurahAudioStyle? surahStyle, bool? isShowAudioSlider = true, String? appIconUrlForPlayAudioInBackground, IndexTabStyle? indexTabStyle, SearchTabStyle? searchTabStyle, AyahMenuStyle? ayahLongClickStyle, TafsirStyle? tafsirStyle, BookmarksTabStyle? bookmarksTabStyle, AyahDownloadManagerStyle? ayahDownloadManagerStyle, TopBottomQuranStyle? topBottomQuranStyle, SnackBarStyle? snackBarStyle, AyahMenuStyle? ayahMenuStyle, QuranTopBarStyle? topBarStyle, TajweedMenuStyle? tajweedMenuStyle, DownloadFontsDialogStyle? downloadFontsDialogStyle, bool? isFontsLocal = false, bool enableWordSelection = true, WordInfoBottomSheetStyle? wordInfoBottomSheetStyle})
إنشاء مثيل جديد من SurahDisplayScreen Creates a new instance of SurahDisplayScreen
const

Properties

appBar → PreferredSizeWidget?
شريط التطبيقات المخصص Custom app bar
final
appIconUrlForPlayAudioInBackground → String?
رابط أيقونة التطبيق للمشغل الصوتي / App icon URL for audio player appIconUrlForPlayAudioInBackground يمكن تمرير رابط مخصص لأيقونة التطبيق في المشغل الصوتي appIconUrlForPlayAudioInBackground You can pass a custom URL for the app icon in the audio player
final
appLanguageCode → String?
كود اللغة Language code
final
ayahBookmarked → List<int>
قائمة الآيات المحفوظة List of bookmarked ayahs
final
ayahDownloadManagerStyle → AyahDownloadManagerStyle?
ayahDownloadManagerStyle Ayah download manager style customization
final
ayahIconColor → Color?
لون أيقونة الآية Ayah icon color
final
ayahLongClickStyle → AyahMenuStyle?
تخصيص نمط الضغط المطول على الآية
final
ayahMenuStyle → AyahMenuStyle?
تخصيص نمط الضغط المطوّل على الآية ayahMenuStyle Long press style customization for ayahs
final
ayahSelectedBackgroundColor → Color?
لون خلفية الآية المختارة Selected ayah background color
final
ayahSelectedFontColor → Color?
final
ayahStyle → AyahAudioStyle?
نمط تخصيص مظهر المشغل الصوتي للآيات - يتحكم في الألوان والخطوط والأيقونات ayahStyle
final
backgroundColor → Color?
لون الخلفية Background color
final
bannerStyle → BannerStyle?
نمط الشعار Banner style
final
basmalaStyle → BasmalaStyle?
نمط البسملة Basmala style
final
bookmarkList → List
قائمة الإشارات المرجعية Bookmark list
final
bookmarksColor → Color?
لون الإشارات المرجعية Bookmarks color
final
bookmarksTabStyle → BookmarksTabStyle?
تخصيص نمط تبويب الفواصل الخاص بالمصحف
final
circularProgressWidget → Widget?
ويدجت التحميل Loading widget
final
customBookmarksColor → Color? Function(AyahModel)?
final
downloadFontsDialogStyle → DownloadFontsDialogStyle?
تغيير نمط نافذة تحميل الخطوط بواسطة هذه الفئة DownloadFontsDialogStyle
final
enableWordSelection → bool
تفعيل أو تعطيل تحديد الكلمة وعرض نافذة معلومات الكلمة عند الضغط enableWordSelection
final
hashCode → int
The hash code for this object.
no setterinherited
indexTabStyle → IndexTabStyle?
تخصيص نمط تبويب الفهرس الخاص بالمصحف
final
isAyahBookmarked → bool Function(AyahModel ayah)?
Callback مخصص لتحديد هل الآية محفوظة أم لا Custom callback to determine whether an ayah is bookmarked
final
isDark → bool
النمط المظلم Dark mode
final
isFontsLocal → bool?
إذا كنت تريد استخدام خطوط موجودة مسبقًا في التطبيق، اجعل هذا المتغيير true isFontsLocal
final
isShowAudioSlider → bool?
إظهار أو إخفاء سلايدر التحكم في الصوت السفلي isShowAudioSlider
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onAyahLongPress → void Function(LongPressStartDetails details, AyahModel ayah)?
دالة عند الضغط المطول على الآية Function when long pressing on ayah
final
onPageChanged → dynamic Function(int pageNumber)?
دالة عند تغيير الصفحة Function when page changes
final
onPagePress → VoidCallback?
دالة عند الضغط على الصفحة Function when pressing on page
final
onSurahBannerPress → void Function(SurahNamesModel surah)?
دالة عند الضغط على شعار السورة Function when pressing on surah banner
final
parentContext → BuildContext
السياق المطلوب من المستخدم لإدارة العمليات الداخلية للمكتبة parentContext مثل الوصول إلى MediaQuery، Theme، والتنقل بين الصفحات
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchTabStyle → SearchTabStyle?
تخصيص نمط تبويب البحث الخاص بالمصحف
final
showAyahBookmarkedIcon → bool
إظهار أيقونة الإشارة المرجعية للآية Show ayah bookmark icon
final
snackBarStyle → SnackBarStyle?
تخصيص نمط Snackbar الخاص بالمكتبة snackBarStyle SnackBar style customization for the library
final
surahInfoStyle → SurahInfoStyle?
نمط معلومات السورة Surah info style
final
surahNameStyle → SurahNameStyle?
نمط اسم السورة Surah name style
final
surahNumber → int
رقم السورة المراد عرضها (1-114) The surah number to display (1-114)
final
surahStyle → SurahAudioStyle?
نمط تخصيص مظهر المشغل الصوتي للسور - يتحكم في الألوان والخطوط والأيقونات surahStyle
final
tafsirStyle → TafsirStyle?
تخصيص نمط التفسير الخاص بالمصحف
final
tajweedMenuStyle → TajweedMenuStyle?
تخصيص نمط نافذة/قائمة أحكام التجويد
final
textColor → Color?
لون النص Text color
final
topBarStyle → QuranTopBarStyle?
تخصيص نمط شريط الأعلى الخاص بالمصحف
final
topBottomQuranStyle → TopBottomQuranStyle?
topBottomQuranStyle top/bottom style customization for the Quran
final
useDefaultAppBar → bool
استخدام شريط التطبيقات الافتراضي Use default app bar
final
wordInfoBottomSheetStyle → WordInfoBottomSheetStyle?
نمط تخصيص معلومات الكلمة
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
fontSizeDropDown({double? height, Color? color, bool isDark = false, TafsirStyle? tafsirStyle}) → Widget

Available on Widget, provided by the FontSizeExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showSajda(BuildContext context, int pageIndex, String sajdaName, Color sajdaNameColor) → Widget

Available on Widget, provided by the SajdaExtension extension

Displays a Sajda widget.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited