FlyTextHelper<T> mixin

Mixin that provides Tailwind-like text style methods for any widget

Mixin applications

Properties

copyWith → T Function(FlyStyle newStyle)
no setter
flyStyle FlyStyle
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

align(dynamic value) → T
Set text alignment - accepts String ('left', 'right', 'center', 'justify', 'start', 'end') or TextAlign
capitalize() → T
Transform text to capitalize first letter of each word
font(dynamic value) → T
Set font family - accepts:
leading(dynamic value) → T
Set line height - accepts int, double, or String (token name like 'tight', 'normal', 'relaxed')
lineThrough() → T
Add line-through decoration to text
lowercase() → T
Transform text to lowercase
noDecoration() → T
Remove text decoration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overline() → T
Add overline decoration to text
text(dynamic value) → T
Set text style - accepts String (token name like 'sm', 'base', 'lg', etc.) or TextStyle Pass null to remove all text styling and use Flutter's default text style
toString() String
A string representation of this object.
inherited
underline() → T
Add underline decoration to text
uppercase() → T
Transform text to uppercase
weight(dynamic value) → T
Set font weight - accepts String ('thin', 'light', 'normal', 'medium', 'bold', etc.) or FontWeight

Operators

operator ==(Object other) bool
The equality operator.
inherited