LinearShapeParams class

class to define linear shape params

Constructors

LinearShapeParams({double angle = 90, double space = 0, LinearAlignment alignment = LinearAlignment.center})
const

Properties

alignment LinearAlignment
left, center, right, top, bottom. Useful when the linear shape is vertical or horizontal
final
angle double
Degree angle. Anticlockwise with 0° on 3 o'clock
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
space double
Space between items
final

Methods

copyWith({double? angle, double? space, LinearAlignment? alignment}) LinearShapeParams
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