TwSpacing class

Common spacing utilities for padding and margin

Constructors

TwSpacing.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

resolve(BuildContext context, TwStyle style, {required int? getUniform(TwStyle), required int? getX(TwStyle), required int? getY(TwStyle), required int? getLeft(TwStyle), required int? getRight(TwStyle), required int? getTop(TwStyle), required int? getBottom(TwStyle)}) EdgeInsets
Resolves spacing from TwStyle and TwConfig into EdgeInsets