BoardState constructor

BoardState({
  1. double scaleFactor = 1.0,
  2. Offset dragOffset = Offset.zero,
  3. Set<Edge> edges = const {},
  4. List<NodeModel> data = const [],
  5. String? focused,
  6. Edge? edgeFocused,
  7. Size? paintSize,
  8. bool editable = true,
})

Implementation

BoardState({
  this.scaleFactor = 1.0,
  this.dragOffset = Offset.zero,
  this.edges = const {},
  this.data = const [],
  this.focused,
  this.edgeFocused,
  this.paintSize,
  this.editable = true,
});