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