TopBottomQuranStyle class
نمط مخصص لقسمَي أعلى/أسفل الصفحة (Top/Bottom) في المصحف.
الغرض الأساسي: نقل باراميترات المحتوى (juzName, sajdaName, surahName, topTitleChild) من الودجتات إلى الثيم لسهولة التخصيص المركزي وتقليل تمرير القيم عبر الطبقات.
Constructors
- TopBottomQuranStyle({String? juzName, String? sajdaName, String? surahName, Widget? customChild, String? hizbName, Color? surahNameColor, Color? juzTextColor, Color? hizbTextColor, Color? pageNumberColor, Color? sajdaNameColor})
-
const
- TopBottomQuranStyle.defaults({required bool isDark, required BuildContext context})
-
القيم الافتراضية للمحتوى.
factory
Properties
- customChild → Widget?
-
ويدجت اختياري يسبق عنوان الأعلى (مثل شارة/عنوان مخصص).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hizbName → String?
-
اسم الحزب القابل للتغيير (يستبدل كلمة "الحزب" في العرض السفلي)
final
- hizbTextColor → Color?
-
لون نص الحزب/أرباعه في الأسفل
final
- juzName → String?
-
نص اسم الجزء المستخدم في العنوان العلوي. مثال: "الجزء".
final
- juzTextColor → Color?
-
لون نص الجزء في الأعلى
final
- pageNumberColor → Color?
-
لون رقم الصفحة في الأسفل
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sajdaName → String?
-
نص اسم السجدة المستخدم في القسم السفلي. مثال: "سجدة".
final
- sajdaNameColor → Color?
-
لون إسم السجدة في الأسفل
final
- surahName → String?
-
اسم السورة المعروض في الأعلى إن رغبت بتجاوز الاسم المستمد من البيانات.
final
- surahNameColor → Color?
-
لون اسم السورة في الأعلى
final
Methods
-
copyWith(
{String? juzName, String? sajdaName, String? surahName, Widget? topTitleChild, String? hizbName, Color? surahNameColor, Color? juzTextColor, Color? hizbTextColor, Color? pageNumberColor, Color? sajdaNameColor}) → TopBottomQuranStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited