HMSTextStyle class

HMSTextStyle returns a text style TextStyle is returned on the basis of the font family selected on the prebuilt dashboard If no font family is selected, then the default font family returned is Inter It takes following parameters: fontSize - The size of the font color - The color of the text fontWeight - The weight of the font fontStyle - The style of the font letterSpacing - The spacing between the letters height - The height of the line

Constructors

HMSTextStyle()

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

Static Methods

setTextStyle({double? fontSize, Color? color, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? height}) TextStyle