InPortWidget constructor

const InPortWidget({
  1. Key? key,
  2. required bool multiConnections,
  3. int? maxConnections,
  4. required String name,
  5. required Widget icon,
  6. ConnectionTheme? connectionTheme,
  7. bool onConnect(
    1. String,
    2. String
    )?,
  8. Widget? iconConnected,
})

Implementation

const InPortWidget(
    {Key? key,
    required this.multiConnections,
    this.maxConnections,
    required this.name,
    required this.icon,
    this.connectionTheme,
    this.onConnect,
    this.iconConnected})
    : super(key: key);