EufemiaTextStyleExtensions extension

An extension that converts internal values from Eufemia to Flutter-friendly values.

on

Methods

loadPredefined(BuildContext context, {EufemiaTypographyData typography}) EufemiaTextStyle
Returns the predefined style of this EufemiaTextStyle from either context or typopgraphy. Both cannot be set.
toTextStyle(BuildContext context, {EufemiaTypographyData typography}) TextStyle
Returns a Flutter TextStyle from this EufemiaTextStyle.