PaneItem constructor
PaneItem({
- Key? key,
- required Widget icon,
- required Widget body,
- Widget? title,
- Widget? trailing,
- Widget? infoBadge,
- FocusNode? focusNode,
- bool autofocus = false,
- MouseCursor? mouseCursor,
- ButtonState<
Color?> ? tileColor, - ButtonState<
Color?> ? selectedTileColor, - VoidCallback? onTap,
- bool enabled = true,
Creates a pane item.
Implementation
PaneItem({
super.key,
required this.icon,
required this.body,
this.title,
this.trailing,
this.infoBadge,
this.focusNode,
this.autofocus = false,
this.mouseCursor,
this.tileColor,
this.selectedTileColor,
this.onTap,
this.enabled = true,
});