NTBDesignFonts class abstract final

Font families from design (--font-sans).

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

Constants

package → const String
The package that bundles the sans font. A bundled font resolves as packages/<package>/<family>, so any hand-rolled TextStyle in this package that names sans must also pass this as package: — otherwise the family falls back to the platform default (Roboto on Android, SF on iOS) instead of the bundled Geist.
sans → const String
sansStyle → const TextStyle
Base style that binds the bundled sans font. Use this instead of repeating fontFamily/package in every hand-rolled TextStyle: NTBDesignFonts.sansStyle.copyWith(fontSize: 14, fontWeight: ...).