PortStyle class final

How a port marker looks. width runs along the port's side and height along its outward normal, so one style reads the same on every side.

Constructors

PortStyle({PortShape shape = PortShape.circle, double width = 10, double height = 10, DiagramColor fill = const DiagramColor(0xFFFFFFFF), DiagramColor stroke = const DiagramColor(0xFF111111), double strokeWidth = 1.5, DiagramColor? connectedFill, double connectedInset = 2.5})
const

Properties

connectedFill → DiagramColor?
Fill of the inset marker drawn while a connector binds the port; the stroke colour when omitted.
final
connectedInset → double
Gap between the marker outline and its connected inset fill.
final
fill → DiagramColor
final
hashCode → int
The hash code for this object.
no setterinherited
height → double
final
isValid → bool
no setter
resolvedConnectedFill → DiagramColor
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shape → PortShape
final
stroke → DiagramColor
final
strokeWidth → double
final
width → double
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