InteractionLayerPainter<T> constructor
InteractionLayerPainter<T> ({
- required NodeFlowController<
T> controller, - required NodeFlowTheme theme,
- required Rect? selectionRectangle,
- required TemporaryConnection? temporaryConnection,
- required TransformationController transformationController,
- 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,
);