Port constructor

const Port({
  1. Key? key,
  2. Color color = Colors.white,
  3. Color borderColor = Colors.black,
  4. required bool isSelected,
  5. required bool isInput,
})

Implementation

const Port({
  super.key,
  this.color = Colors.white,
  this.borderColor = Colors.black,
  required this.isSelected,
  required this.isInput,
});