FlyTextUtils class

Utility class for handling Tailwind-like text style logic

Constructors

FlyTextUtils()

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

applyToTextStyle(BuildContext context, FlyStyle style, TextStyle? baseStyle) → TextStyle
Applies text style to a TextStyle using copyWith
resolve(BuildContext context, FlyStyle style) → TextStyle?
Resolves text style from FlyStyle and FlyThemeData into TextStyle
resolveTextAlign(dynamic value) → TextAlign?
Resolves text alignment from string to TextAlign enum
resolveTextDecoration(dynamic value) → TextDecoration?
Resolves text decoration from string to TextDecoration enum
transformText(String text, dynamic transform) → String
Transforms text based on the specified transformation type