GrafoBoard constructor

const GrafoBoard({
  1. Key? key,
  2. List<GrafoNode> nodes = const [],
  3. List<GrafoConnection> connections = const [],
  4. dynamic onTap(
    1. int index
    )?,
  5. dynamic onMove(
    1. int index,
    2. Offset delta
    )?,
  6. dynamic onAddConnection(
    1. GrafoConnection
    )?,
  7. dynamic onRemoveConnection(
    1. int index
    )?,
})

Implementation

const GrafoBoard(
    {super.key,
    this.nodes = const [],
    this.connections = const [],
    this.onTap,
    this.onMove,
    this.onAddConnection,
    this.onRemoveConnection});