UrduTextTheme class
A pre-wired TextTheme tuned for Nastaliq script.
Nastaliq is a hanging script with deep descenders: rendered with Flutter's
default line height it clips letters vertically and overlaps lines. This
theme multiplies every style's height by lineHeightMultiplier (defaults
to 2.0, the value the Nastaliq type community recommends for body text)
and optionally injects a Nastaliq font family.
MaterialApp(
theme: ThemeData(
fontFamily: 'NotoNastaliqUrdu',
textTheme: UrduTextTheme.nastaliq(baseTheme),
),
)
Constructors
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