FlyLeading<T> mixin

Mixin that provides Tailwind-like leading methods for any widget

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

applyLeading(BuildContext context, TextStyle? baseStyle) TextStyle
Applies leading styling to a TextStyle using the resolved value
leading(dynamic value) → T
Set line height - accepts int, double, or String (token name like 'tight', 'normal', 'relaxed')
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveLeading(BuildContext context) double?
Resolves leading styling from FlyStyle and FlyThemeData into double
toString() String
A string representation of this object.
inherited

Operators

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