AyahModel class
موديل موحد للآية في القرآن يدعم كل من بيانات الخطوط الأصلية والمنزلة Unified Ayah model for both original and downloaded fonts data
Constructors
- AyahModel.new({required int ayahUQNumber, required int ayahNumber, required String text, required String ayaTextEmlaey, String? codeV2, required int juz, required int page, int? surahNumber, int? lineStart, int? lineEnd, int? quarter, int? hizb, String? englishName, String? arabicName, bool? sajdaBool, dynamic sajda, Color? singleAyahTextColor, bool? centered, required bool isDownloadedFonts})
- AyahModel.empty()
-
factory
- AyahModel.fromAya({required AyahModel ayah, required String aya, required String ayaText, bool? centered})
-
دالة مصنع لإنشاء نسخة جديدة من الآية مع نص أو خصائص معدلة
Factory to create a new instance from an existing ayah with custom text, ayaTextEmlaey, and centered
factory
-
AyahModel.fromDownloadedFontsJson(Map<
String, dynamic> json) -
Factory لإنشاء الموديل من json الخاص بالخطوط المنزلة
Factory to create model from downloaded fonts JSON
factory
-
AyahModel.fromOriginalJson(Map<
String, dynamic> json) -
Factory لإنشاء الموديل من json الأصلي
Factory to create model from original JSON
factory
Properties
- arabicName → String?
-
final
- ayahNumber → int
-
final
- ayahUQNumber → int
-
final
- ayaTextEmlaey → String
-
final
- centered → bool?
-
final
- codeV2 → String?
-
final
- englishName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hizb → int?
-
final
- isDownloadedFonts → bool
-
final
- juz → int
-
final
- lineEnd → int?
-
final
- lineStart → int?
-
final
- page → int
-
final
- quarter → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sajda → dynamic
-
final
- sajdaBool → bool?
-
final
- singleAyahTextColor → Color?
-
final
- surahNumber → int?
-
final
- text ↔ String
-
getter/setter pair
Methods
-
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