FolderView<T> constructor
const
FolderView<T> ({
- Key? key,
- required List<
Node< data,T> > - required ViewMode mode,
- dynamic onNodeTap(
- Node<
T>
- Node<
- dynamic onDoubleNodeTap(
- Node<
T>
- Node<
- dynamic onSecondaryNodeTap(
- Node<
T> , - TapDownDetails
- Node<
- Set<
String> ? selectedNodeIds, - Set<
String> ? expandedNodeIds, - FlutterFolderViewTheme<
T> ? theme, - double scale = 1.0,
- 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');