Dart Documentationorson_chartsFont

Font class

Represents a font.

Static Properties

final String SANS_SERIF #

Font family string 'sans-serif'.

final String SERIF #

Font family string 'serif'.

Constructors

new Font(String _family, int _size) #

Creates a new font.

Properties

final String family #

Returns the font family string.

final int size #

Returns the font size.

Methods

String toFontStr() #

Returns a string representation of the font.