DynamicFontController class
Properties
-
currentFont
↔ ValueNotifier<
FontConfig> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyFont(
TextStyle base) → TextStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setGoogleFont(
TextStyle googleFont([TextStyle?])) → void - Set a Google font dynamically
-
setLocalFont(
String fontFamily) → void - Set a local font dynamically (must be declared in pubspec.yaml)
-
setSystemFont(
) → void - Revert to system default font
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → DynamicFontController
-
final