NiceDiagramNode constructor

NiceDiagramNode({
  1. required String id,
  2. required double x,
  3. required double y,
  4. String text = '',
  5. NiceDiagramNodeShape shape = NiceDiagramNodeShape.rectangle,
  6. double width = 120,
  7. double height = 60,
  8. Color? color,
  9. Color? textColor,
  10. IconData? icon,
})

Implementation

NiceDiagramNode({
  required this.id,
  required this.x,
  required this.y,
  this.text = '',
  this.shape = NiceDiagramNodeShape.rectangle,
  this.width = 120,
  this.height = 60,
  this.color,
  this.textColor,
  this.icon,
});