ConnectionEvents<T> constructor
const
ConnectionEvents<T> ({
- ValueChanged<
Connection> ? onCreated, - ValueChanged<
Connection> ? onDeleted, - ValueChanged<
Connection?> ? onSelected, - ValueChanged<
Connection> ? onTap, - ValueChanged<
Connection> ? onDoubleTap, - ValueChanged<
Connection> ? onMouseEnter, - ValueChanged<
Connection> ? onMouseLeave, - void onContextMenu(
- Connection connection,
- Offset position
- void onConnectStart()?,
- void onConnectEnd(
- bool success
- ConnectionValidationResult onBeforeStart(
- ConnectionStartContext<
T> context
- ConnectionStartContext<
- ConnectionValidationResult onBeforeComplete(
- ConnectionCompleteContext<
T> context
- ConnectionCompleteContext<
Implementation
const ConnectionEvents({
this.onCreated,
this.onDeleted,
this.onSelected,
this.onTap,
this.onDoubleTap,
this.onMouseEnter,
this.onMouseLeave,
this.onContextMenu,
this.onConnectStart,
this.onConnectEnd,
this.onBeforeStart,
this.onBeforeComplete,
});