FontFamily class
The font-family CSS property specifies a prioritized list of one or more font family names
and/or generic family names for the selected element.
See also:
- FontFamilies for generic and common font families.
Read more: MDN font-family
Constructors
- FontFamily(String value)
-
Constructs a FontFamily from a custom font name.
const
-
FontFamily.list(List<
FontFamily> families) -
Constructs a FontFamily value from a list of families.
constfactory
- FontFamily.variable(String value)
-
Constructs a FontFamily value from a CSS variable.
constfactory
Properties
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
- inherit → const FontFamily
- initial → const FontFamily
- revert → const FontFamily
- revertLayer → const FontFamily
- unset → const FontFamily