InteractionLayerPainter<T> constructor

InteractionLayerPainter<T>({
  1. required NodeFlowController<T> controller,
  2. required NodeFlowTheme theme,
  3. required Rect? selectionRectangle,
  4. required TemporaryConnection? temporaryConnection,
  5. required TransformationController transformationController,
  6. Animation<double>? animation,
})

Implementation

InteractionLayerPainter({
  required this.controller,
  required this.theme,
  required this.selectionRectangle,
  required this.temporaryConnection,
  required this.transformationController,
  this.animation,
}) : super(
       repaint: animation != null
           ? Listenable.merge([transformationController, animation])
           : transformationController,
     );