Typography class

The two material design text themes.

Material design defines two text themes: black and white. The black text theme, which uses dark glyphs, is used on light backgrounds in light themes. The white text theme, which uses light glyphs, is used in dark themes and on dark backgrounds in light themes.

To obtain the current text theme, call Theme.of with the current BuildContext and read the ThemeData.textTheme property.

See also:

Constructors

Typography({@required TargetPlatform platform })
Creates the default typography for the specified platform.
factory

Properties

black TextTheme
A material design text theme with dark glyphs.
final
white TextTheme
A material design text theme with light glyphs.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited