CssFontFamily class sealed
CSS font-family value.
- Implemented types
Constructors
- CssFontFamily.generic(String name)
-
Generic font family (not quoted).
factory
- CssFontFamily.global(CssGlobal global)
-
Global keyword (inherit, initial, unset, revert).
factory
- CssFontFamily.named(String name)
-
Named font family (will be quoted).
factory
- CssFontFamily.raw(String value)
-
Raw CSS value escape hatch.
factory
-
CssFontFamily.stack(List<
CssFontFamily> families) -
Font stack (list of families with fallbacks).
factory
- CssFontFamily.variable(String varName)
-
CSS variable reference.
factory
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
-
toCss(
) → String -
Converts this value to its CSS string representation.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- cursive → const CssFontFamily
- emoji → const CssFontFamily
- fangsong → const CssFontFamily
- fantasy → const CssFontFamily
- math → const CssFontFamily
- monospace → const CssFontFamily
- sansSerif → const CssFontFamily
- serif → const CssFontFamily
- systemUi → const CssFontFamily
- uiMonospace → const CssFontFamily
- uiRounded → const CssFontFamily
- uiSansSerif → const CssFontFamily
- uiSerif → const CssFontFamily