FlumeTypographyData class Foundation

Baseline typography data.

Constructors

FlumeTypographyData({required double fontSize, required FontWeight fontWeight, required double lineHeight, required String fontFamily, String? package})
const

Properties

fontFamily String
{@category Foundation} {@subCategory Typography} Font family.
final
fontSize double
{@category Foundation} {@subCategory Typography} Font size.
final
fontWeight FontWeight
{@category Foundation} {@subCategory Typography} Font weight.
final
hashCode int
The hash code for this object.
no setterinherited
lineHeight double
{@category Foundation} {@subCategory Typography} Line height.
final
package String?
{@category Foundation} {@subCategory Typography} The package from which the font family is loaded.
final
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
toTextStyle() TextStyle
{@category Foundation} {@subCategory Typography} Returns a TextStyle instance created from the current FlumeTypographyData.

Operators

operator ==(Object other) bool
The equality operator.
inherited