QuranFontLoader class

Utility class to programmatically load custom fonts. This bypasses the pubspec.yaml font registration which can sometimes fail.

Constructors

QuranFontLoader()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

isLoaded bool
Check if fonts have been loaded
no setter

Static Methods

loadFonts() Future<void>
Loads the Uthmani font programmatically from assets. Call this once at app startup before using the font.

Constants

uthmaniFamily → const String