AppKitSidebarItem constructor

const AppKitSidebarItem({
  1. Widget? leading,
  2. required Widget label,
  3. Color? selectedColor,
  4. Color? unselectedColor,
  5. ShapeBorder? shape,
  6. FocusNode? focusNode,
  7. String? semanticLabel,
  8. List<AppKitSidebarItem>? disclosureItems,
  9. bool expandDisclosureItems = false,
  10. Widget? trailing,
  11. Color? textColor,
  12. Color? selectedTextColor,
  13. Color? iconColor,
  14. Color? selectedIconColor,
})

Implementation

const AppKitSidebarItem({
  this.leading,
  required this.label,
  this.selectedColor,
  this.unselectedColor,
  this.shape,
  this.focusNode,
  this.semanticLabel,
  this.disclosureItems,
  this.expandDisclosureItems = false,
  this.trailing,
  this.textColor,
  this.selectedTextColor,
  this.iconColor,
  this.selectedIconColor,
});