SidebarItem constructor
const
SidebarItem({
- Widget? leading,
- required Widget label,
- Color? selectedColor,
- Color? unselectedColor,
- ShapeBorder? shape,
- FocusNode? focusNode,
- String? semanticLabel,
- List<
SidebarItem> ? disclosureItems, - Widget? trailing,
Creates a sidebar item.
Implementation
const SidebarItem({
this.leading,
required this.label,
this.selectedColor,
this.unselectedColor,
this.shape,
this.focusNode,
this.semanticLabel,
this.disclosureItems,
this.trailing,
});