ISpectPanelItem constructor

const ISpectPanelItem({
  1. required void onTap(
    1. BuildContext context
    ),
  2. required bool enableBadge,
  3. required IconData icon,
})

Creates a panel item with the given icon, enableBadge flag, and onTap callback.

Implementation

const ISpectPanelItem({
  required this.onTap,
  required this.enableBadge,
  required this.icon,
});