GraphWidget constructor

const GraphWidget({
  1. Key? key,
  2. required dynamic graphController,
  3. Size size = const Size(100, 100),
})

Creates a GraphWidget with the specified graphController and size.

Implementation

const GraphWidget({
  Key? key,
  required graphController,
  this.size = const Size(100, 100),
})  : _graphController = graphController,
      super(key: key);