SidebarItem constructor

const SidebarItem({
  1. required String label,
  2. required String href,
  3. Object? icon,
  4. bool active = false,
  5. bool disabled = false,
  6. String? className,
  7. Map<String, Object?> props = const {},
  8. Map<String, Object?> style = const {},
  9. DartStyle? dartStyle,
})

Creates a sidebar navigation item.

Implementation

const SidebarItem({
  required this.label,
  required this.href,
  this.icon,
  this.active = false,
  this.disabled = false,
  this.className,
  this.props = const {},
  this.style = const {},
  this.dartStyle,
});