ArnaSideBarItem constructor

const ArnaSideBarItem({
  1. Key? key,
  2. required String label,
  3. required IconData icon,
  4. IconData? selectedIcon,
  5. required VoidCallback? onPressed,
  6. ArnaBadge? badge,
  7. bool active = false,
  8. bool isFocusable = true,
  9. bool autofocus = false,
  10. Color? accentColor,
  11. MouseCursor cursor = MouseCursor.defer,
  12. String? semanticLabel,
})

Creates a side bar item.

Implementation

const ArnaSideBarItem({
  super.key,
  required this.label,
  required this.icon,
  this.selectedIcon,
  required this.onPressed,
  this.badge,
  this.active = false,
  this.isFocusable = true,
  this.autofocus = false,
  this.accentColor,
  this.cursor = MouseCursor.defer,
  this.semanticLabel,
});