SurahDisplayScreen class

شاشة لعرض سورة واحدة باستخدام SurahCtrl و _QuranLinePage Screen for displaying a single surah using SurahCtrl and _QuranLinePage

Inheritance
Available extensions

Constructors

SurahDisplayScreen.new({Key? key, required int surahNumber, PreferredSizeWidget? appBar, Color? ayahIconColor, Color? ayahSelectedBackgroundColor, Color? ayahSelectedFontColor, BannerStyle? bannerStyle, BasmalaStyle? basmalaStyle, Color? backgroundColor, List bookmarkList = const [], Color? bookmarksColor, Widget? circularProgressWidget, bool isDark = false, String? languageCode = 'ar', 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, Widget? topTitleChild, bool useDefaultAppBar = true, List<int> ayahBookmarked = const [], Widget? anotherMenuChild, void anotherMenuChildOnTap(AyahModel ayah)?, String? juzName, String? sajdaName, Widget? secondMenuChild, void secondMenuChildOnTap(AyahModel ayah)?, AyahAudioStyle? ayahStyle, SurahAudioStyle? surahStyle, bool? isShowAudioSlider = true, String? appIconUrlForPlayAudioInBackground, required BuildContext parentContext})
إنشاء مثيل جديد من SurahDisplayScreen Creates a new instance of SurahDisplayScreen

Properties

anotherMenuChild Widget?
زر إضافي أول لقائمة خيارات الآية - يمكن إضافة أيقونة أو نص مخصص anotherMenuChild
final
anotherMenuChildOnTap → void Function(AyahModel ayah)?
دالة يتم استدعاؤها عند الضغط على الزر الإضافي الأول في قائمة خيارات الآية anotherMenuChildOnTap
final
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
ayahBookmarked List<int>
قائمة الآيات المحفوظة List of bookmarked ayahs
final
ayahIconColor Color?
لون أيقونة الآية Ayah icon color
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
circularProgressWidget Widget?
ويدجت التحميل Loading widget
final
hashCode int
The hash code for this object.
no setterinherited
isDark bool
النمط المظلم Dark mode
final
isShowAudioSlider bool?
إظهار أو إخفاء سلايدر التحكم في الصوت السفلي isShowAudioSlider
final
juzName String?
اسم الجزء Juz name
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
languageCode String?
كود اللغة Language code
final
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
quranCtrl QuranCtrl
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sajdaName String?
اسم السجدة Sajda name
final
secondMenuChild Widget?
زر إضافي ثاني لقائمة خيارات الآية - يمكن إضافة أيقونة أو نص مخصص secondMenuChild
final
secondMenuChildOnTap → void Function(AyahModel ayah)?
دالة يتم استدعاؤها عند الضغط على الزر الإضافي الثاني في قائمة خيارات الآية secondMenuChildOnTap
final
showAyahBookmarkedIcon bool
إظهار أيقونة الإشارة المرجعية للآية Show ayah bookmark icon
final
surahInfoStyle SurahInfoStyle?
نمط معلومات السورة Surah info style
final
surahNameStyle SurahNameStyle?
نمط اسم السورة Surah name style
final
surahNumber int
رقم السورة المراد عرضها The surah number to display
final
surahStyle → SurahAudioStyle?
نمط تخصيص مظهر المشغل الصوتي للسور - يتحكم في الألوان والخطوط والأيقونات surahStyle
final
textColor Color?
لون النص Text color
final
topTitleChild Widget?
عنصر في أعلى العنوان Top title child widget
final
useDefaultAppBar bool
استخدام شريط التطبيقات الافتراضي Use default app bar
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) 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
towFirstSurahs(BuildContext context, bool isFirstPageInFirstOrSecondSurah, QuranPageModel surahPage, Size deviceSize, SurahCtrl surahCtrl, int pageIndex) Widget
بناء محتوى الصفحة للسورة الأولى والثانية Build page content for first and second surah

Operators

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