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})
إنشاء مثيل جديد من SurahDisplayScreen Creates a new instance of SurahDisplayScreen
const

Properties

anotherMenuChild Widget?
final
anotherMenuChildOnTap → void Function(AyahModel ayah)?
final
appBar PreferredSizeWidget?
شريط التطبيقات المخصص Custom app bar
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
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
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sajdaName String?
اسم السجدة Sajda name
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
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, required 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(dynamic context, int pageIndex, String sajdaName, {bool? isSurah = false, int? surahNumber}) 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