NodeWidget<T> constructor

const NodeWidget<T>({
  1. Key? key,
  2. required Node<T> node,
  3. required ViewMode mode,
  4. dynamic onTap(
    1. Node<T>
    )?,
  5. dynamic onDoubleTap(
    1. Node<T>
    )?,
  6. dynamic onSecondaryTap(
    1. Node<T>,
    2. TapDownDetails
    )?,
  7. bool isLast = false,
  8. bool isRoot = false,
  9. int depth = 0,
  10. Set<String>? selectedNodeIds,
  11. required FlutterFolderViewTheme theme,
})

Implementation

const NodeWidget({
  super.key,
  required this.node,
  required this.mode,
  this.onTap,
  this.onDoubleTap,
  this.onSecondaryTap,
  this.isLast = false,
  this.isRoot = false,
  this.depth = 0,
  this.selectedNodeIds,
  required this.theme,
});