FontFamily class

List of most common font families across different platforms. Use the collection names in the Font class (e.g., Font.SANS_SERIF, Font.FONT_SERIF, Font.MONOSPACE, Font.CURSIVE or Font.FANTASY). These work best on all platforms using the fonts that best match availability on each platform. See www.angelfire.com/al4/rcollins/style/fonts.html for a good description of fonts available between platforms and browsers.

Constructors

FontFamily()

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

appleChancery → const String
Cursive font for older Macs.
arial → const String
Sans-Serif font for Windows similar to Helvetica on Mac bold/italic.
arialBlack → const String
Sans-Serif font for Windows less common already bolded.
comicSansMs → const String
Cursive font for Windows and default cursive font for IE.
courier → const String
Monospace font for Mac/Windows most common. Scalable on Mac not scalable on Windows.
courierNew → const String
Monospace font for Mac/Windows scalable on both platforms.
geneva → const String
Sans-Serif font for Mac since 1984, similar to Arial/Helvetica.
georgia → const String
Serif font for Windows traditional font with “old-style” numerals.
helvetica → const String
Sans-Serif font for Mac since 1984 is identical to Arial.
impact → const String
Fantasy font on most Mac/Windows/Linux platforms.
textile → const String
Cursive font for Mac on Macs 2000 and newer.
times → const String
Serif font for Mac. PCs may have the non-scalable Times use Times New Roman instead. Times is more compact than Times New Roman.
timesNewRoman → const String
Serif font for Windows most common serif font and default serif font for most browsers.
verdana → const String
Sans-Serif font for Windows most readable sans-serif font for displays.
webdings → const String
Fantasy font for Windows.
zaphChancery → const String
Cursive font for some PCs.