ConnectionsCanvas<T> constructor
const
ConnectionsCanvas<T> ({
- required NodeFlowController<
T> store, - required NodeFlowTheme theme,
- required ConnectionPainter connectionPainter,
- Animation<
double> ? animation,
Creates a connections canvas painter.
Parameters:
store: The node flow controller containing connection datatheme: The visual theme for renderingconnectionPainter: Shared painter instance for path cachinganimation: Optional animation for animated connections
Implementation
const ConnectionsCanvas({
required this.store,
required this.theme,
required this.connectionPainter,
this.animation,
}) : super(repaint: animation);