Panel constructor

Panel({
  1. required String name,
  2. required String label,
  3. required IconData? icon,
  4. required dynamic create(
    1. VoidCallback onClose
    ),
  5. required String tooltip,
})

Implementation

Panel({
  required this.name,
  required this.label,
  required this.icon,
  required this.create,
  required this.tooltip,
});