FoldableDirectoryTree constructor
const
FoldableDirectoryTree({
- Key? key,
- required String rootPath,
- void onFileTap()?,
- void onFileSecondaryTap()?,
- void onDirTap()?,
- void onDirSecondaryTap()?,
- FolderStyle? folderStyle,
- FileStyle? fileStyle,
- List<
Widget> ? folderActions, - List<
Widget> ? fileActions, - EditingFieldStyle? editingFieldStyle,
- bool enableCreateFileOption = false,
- bool enableCreateFolderOption = false,
- bool enableDeleteFileOption = false,
- bool enableDeleteFolderOption = false,
- Widget fileIconBuilder(
- String fileExtension
Implementation
const FoldableDirectoryTree({
super.key,
required this.rootPath,
this.onFileTap,
this.onFileSecondaryTap,
this.onDirTap,
this.onDirSecondaryTap,
this.folderStyle,
this.fileStyle,
this.folderActions,
this.fileActions,
this.editingFieldStyle,
this.enableCreateFileOption = false,
this.enableCreateFolderOption = false,
this.enableDeleteFileOption = false,
this.enableDeleteFolderOption = false,
this.fileIconBuilder,
});