QuranEmbeddedText class
Provides offline access to embedded Arabic text (Uthmani + Simple).
The text is bundled as .json.gz assets and decompressed in memory. No network access required.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSimpleLoaded → bool
-
Whether Simple text is loaded.
no setter
- isUthmaniLoaded → bool
-
Whether Uthmani text is loaded.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getSimple(
int surah, int ayah) → String? - Get Simple text for an ayah.
-
getSimpleSurah(
int surah) → Map< int, String> ? - Get all Simple text for a surah.
-
getUthmani(
int surah, int ayah) → String? - Get Uthmani text for an ayah.
-
getUthmaniForPage(
List< ({int ayah, int surah})> refs) → List<({int ayah, int surah, String text})> - Get Uthmani text for a range of ayahs on a page.
-
getUthmaniSurah(
int surah) → Map< int, String> ? - Get all Uthmani text for a surah.
-
loadAll(
) → Future< void> - Load both Uthmani and Simple text.
-
loadSimple(
) → Future< void> - Load Simple text from bundled asset.
-
loadUthmani(
) → Future< void> - Load Uthmani text from bundled asset.
-
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
Static Properties
- instance → QuranEmbeddedText
-
final