MorphLink class

An explicit pipe between two pieces by id - for distant pieces where proximity fusion is not enough. width defaults to half the smaller height of the pair.

Constructors

MorphLink({required Object from, required Object to, double? width})
Creates a bridge between the pieces with ids from and to.
const

Properties

from Object
Id of the piece at one end.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to Object
Id of the piece at the other end.
final
width double?
Pipe width in px; null derives half the smaller piece height.
final

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