FolderView<T> constructor

const FolderView<T>({
  1. Key? key,
  2. required List<Node<T>> data,
  3. required ViewMode mode,
  4. dynamic onNodeTap(
    1. Node<T>
    )?,
  5. dynamic onDoubleNodeTap(
    1. Node<T>
    )?,
  6. dynamic onSecondaryNodeTap(
    1. Node<T>,
    2. TapDownDetails
    )?,
  7. Set<String>? selectedNodeIds,
  8. Set<String>? expandedNodeIds,
  9. FlutterFolderViewTheme<T>? theme,
  10. double scale = 1.0,
  11. bool blockCtrlScroll = true,
})

Implementation

const FolderView({
  super.key,
  required this.data,
  required this.mode,
  this.onNodeTap,
  this.onDoubleNodeTap,
  this.onSecondaryNodeTap,
  this.selectedNodeIds,
  this.expandedNodeIds,
  this.theme,
  this.scale = 1.0,
  this.blockCtrlScroll = true,
}) : assert(scale > 0, 'scale must be greater than 0');