FSidebarItem constructor
const
FSidebarItem({
- FSidebarItemStyleDelta style = const .context(),
- Widget? icon,
- Widget? label,
- bool selected = false,
- bool initiallyExpanded = false,
- bool autofocus = false,
- FocusNode? focusNode,
- VoidCallback? onPress,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHoverChange, - FTappableVariantChangeCallback? onVariantChange,
- List<
Widget> children = const [], - Key? key,
Creates a FSidebarItem.
Implementation
const FSidebarItem({
this.style = const .context(),
this.icon,
this.label,
this.selected = false,
this.initiallyExpanded = false,
this.autofocus = false,
this.focusNode,
this.onPress,
this.onLongPress,
this.onHoverChange,
this.onVariantChange,
this.children = const [],
super.key,
});