atoms/text/base/zwapText library

Classes

FontSizeDevice
The device
ZwapGradientText
ZwapText
Component to rendering text in base of style and device type
ZwapTranslation

Functions

getTextSize(String text, ZwapTextType textType, {double? maxWidth}) Size
It plots the text size in base of the current style and current chars
getTextSizeFromCustomStyle(String text, TextStyle textStyle, {double? maxWidth}) Size
getTextStyle(ZwapTextType typeText) TextStyle
It returns the text style in base of the different text type
textWidth(String text, TextStyle style, {TextAlign textAlign = TextAlign.left}) double
Return the minWidth occupied by text in a single line