AppKitSidebarItem constructor
const
AppKitSidebarItem({
- Widget? leading,
- required Widget label,
- Color? selectedColor,
- Color? unselectedColor,
- ShapeBorder? shape,
- FocusNode? focusNode,
- String? semanticLabel,
- List<
AppKitSidebarItem> ? disclosureItems, - bool expandDisclosureItems = false,
- Widget? trailing,
- Color? textColor,
- Color? selectedTextColor,
- Color? iconColor,
- 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,
});