PaneItem constructor

PaneItem({
  1. Key? key,
  2. required Widget icon,
  3. required Widget body,
  4. Widget? title,
  5. Widget? trailing,
  6. Widget? infoBadge,
  7. FocusNode? focusNode,
  8. bool autofocus = false,
  9. MouseCursor? mouseCursor,
  10. ButtonState<Color?>? tileColor,
  11. ButtonState<Color?>? selectedTileColor,
  12. VoidCallback? onTap,
  13. 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,
});