TreeItemView constructor

const TreeItemView({
  1. Key? key,
  2. required Widget child,
  3. Widget? leading,
  4. Widget? trailing,
  5. VoidCallback? onPressed,
  6. VoidCallback? onDoublePressed,
  7. ValueChanged<bool>? onExpand,
  8. bool? expandable,
  9. FocusNode? focusNode,
})

Implementation

const TreeItemView({
  super.key,
  required this.child,
  this.leading,
  this.trailing,
  this.onPressed,
  this.onDoublePressed,
  this.onExpand,
  this.expandable,
  this.focusNode,
});