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 of with the current BuildContext and read the 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.

read-only
white TextTheme

A material design text theme with light glyphs.

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

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