buildPainter method

CustomPainter buildPainter()

Returns a new instance of CustomPainter that delegates to this ScenePainter instance by wrapping it in a _GraphicsPainter. This is the painter that is used to draw the graphics within a Flutter widget and is responsible for rendering the GraphX scene.

Implementation

CustomPainter buildPainter() {
  return _GraphicsPainter(this);
}