Keyline class

Keyline, used to specify the Design keylines for a Widget

Constructors

Keyline(double xPos, {KeylineGravity gravity = KeylineGravity.start, KeylineDecorator decorator = const KeylineDecorator()})
const

Properties

decorator KeylineDecorator
KeylineDecorator used to define keyline and keyline margins colors and width
final
gravity KeylineGravity
Edge from which xPos is defined
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xPos double
Position of keyline relative edge
final

Methods

copyWith({double? xPos, KeylineGravity? gravity, KeylineDecorator? decorator}) Keyline
creates a new Keyline with provided overrides
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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