FontFamilies class

A collection of generic and common font families.

  • Generic font families are a fallback mechanism, a means of preserving some of the style sheet author's intent when none of the specified fonts are available. A generic font family should be the last item in the list of font family names.

Read more: MDN font-family

Constructors

FontFamilies()

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

andaleMono → const FontFamily
The "Andale Mono" font family.
arial → const FontFamily
The "Arial" font family.
arnoldboecklin → const FontFamily
The "Arnoldboecklin" font family.
blippo → const FontFamily
The "Blippo" font family.
bookman → const FontFamily
The "Bookman" font family.
brushstroke → const FontFamily
The "Brushstroke" font family.
comicSans → const FontFamily
The "Comic Sans" font family.
coronetscript → const FontFamily
The "Coronetscript" font family.
courier → const FontFamily
The "Courier" font family.
courierNew → const FontFamily
The "Courier New" font family.
cursive → const FontFamily
Generic font family where glyphs resemble handwriting.
emoji → const FontFamily
fangSong → const FontFamily
A particular style of Chinese characters that are between serif-style Song and cursive-style Kai forms. This style is often used for government documents.
fantasy → const FontFamily
Generic font family where glyphs have a playful, decorative design.
florence → const FontFamily
The "Florence" font family.
gillSans → const FontFamily
The "Gill Sans" font family.
helvetica → const FontFamily
The "Helvetica" font family.
helveticaNarrow → const FontFamily
The "Helvetica Narrow" font family.
impact → const FontFamily
The "Impact" font family.
lucida → const FontFamily
The "Lucida" font family.
lucidatypewriter → const FontFamily
The "Lucidatypewriter" font family.
math → const FontFamily
This is for the particular stylistic concerns of representing mathematics: superscript and subscript, brackets that cross several lines, nesting expressions, and double struck glyphs with distinct meanings.
monospace → const FontFamily
Generic font family where all glyphs have the same fixed width.
newCenturySchoolbook → const FontFamily
The "New Century Schoolbook" font family.
oldtown → const FontFamily
The "Oldtown" font family.
palatino → const FontFamily
The "Palatino" font family.
parkavenue → const FontFamily
The "Parkavenue" font family.
sansSerif → const FontFamily
Generic font family where glyphs have stroke endings that are plain.
serif → const FontFamily
Generic font family where glyphs have finishing strokes, flared or tapering ends, or have actual serifed endings.
systemUi → const FontFamily
Generic font family that represents the default user interface font on a given platform.
times → const FontFamily
The "Times" font family.
timesNewRoman → const FontFamily
The "Times New Roman" font family.
uiMonospace → const FontFamily
The default user interface monospace font.
uiRounded → const FontFamily
The default user interface font that has rounded features.
uiSansSerif → const FontFamily
The default user interface sans-serif font.
uiSerif → const FontFamily
The default user interface serif font.
zapfChancery → const FontFamily
The "Zapf Chancery" font family.