TextHelper class

Constructors

TextHelper.new()

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

getFontFamily(UFUFontFamily fontFamily, UFUFontWeight fontWeight) String
Return fontFamily of a text and default textSize is UFUFontFamily.roboto
getFontWeight(UFUFontWeight fontWeight) FontWeight
Return fontWeight of a text and default textSize is UFUFontFamily.regular
getMontserratFontFamily(UFUFontWeight fontWeight) → dynamic
getRobotoFontFamily(UFUFontWeight fontWeight) String
getTextSize(UFUTextSize textSize) double
Return double textSize of a text and default textSize is UFUTextSize.heading4
getTextStyle(Color? textColor, UFUFontWeight? fontWeight, UFUTextSize? textSize, double? dynamicFontSize, UFUFontFamily? fontFamily, TextOverflow? overflow, double? height, double? letterSpacing, TextDecoration? textDecoration, FontStyle? fontStyle, Color? decorationColor) TextStyle