NiceDiagramNode class

A node in the diagram.

Constructors

NiceDiagramNode({required String id, required double x, required double y, String text = '', NiceDiagramNodeShape shape = NiceDiagramNodeShape.rectangle, double width = 120, double height = 60, Color? color, Color? textColor, IconData? icon})

Properties

center Offset
no setter
color Color?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double
getter/setter pair
icon IconData?
getter/setter pair
id String
final
rect Rect
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape NiceDiagramNodeShape
getter/setter pair
text String
getter/setter pair
textColor Color?
getter/setter pair
width double
getter/setter pair
x double
getter/setter pair
y double
getter/setter pair

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