TwPaddingUtils class

Utility class for handling Tailwind-like padding logic

Constructors

TwPaddingUtils.new()

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

apply(BuildContext context, TwStyle style, Widget child) Widget
Applies padding to a widget using the resolved EdgeInsets
resolve(BuildContext context, TwStyle style) EdgeInsets
Resolves padding from TwStyle and TwTheme into EdgeInsets