FontsExtension extension

Extension to handle font-related operations for the QuranCtrl class.

on

Methods

deleteFonts() Future<void>

Available on QuranCtrl, provided by the FontsExtension extension

Deletes the font at the specified index.
downloadAllFontsZipFile(int fontIndex) Future<void>

Available on QuranCtrl, provided by the FontsExtension extension

Downloads a zip file containing all fonts for the specified font index.
loadFont(int pageIndex, {bool isFontsLocal = false}) Future<void>

Available on QuranCtrl, provided by the FontsExtension extension

Loads the font for the specified page index.
loadFontFromZip(int pageIndex) Future<void>

Available on QuranCtrl, provided by the FontsExtension extension

Loads a font from a ZIP file for the specified page index.
prepareFonts(int pageIndex, {bool isFontsLocal = false}) Future<void>

Available on QuranCtrl, provided by the FontsExtension extension

Prepares fonts for the specified page index and adjacent pages.