PortPanStartCallback typedef
PortPanStartCallback =
void Function(int portIndex, bool isOutput, DragStartDetails details)
The typedef PortPanStartCallback is defining a function type in Dart. It is creating an alias
PortPanStartCallback for a function that takes three parameters: portIndex of type int,
isOutput of type bool, and details of type DragStartDetails, and returns void. This allows
you to define functions with this signature and use them as callbacks in your code.
Implementation
typedef PortPanStartCallback = void Function(
int portIndex, bool isOutput, DragStartDetails details);