FileBrowserPathViewModel constructor

const FileBrowserPathViewModel({
  1. required String path,
  2. required List<String> segments,
  3. required int currentSelectionCount,
  4. required String rootLabel,
  5. required VoidCallback onRootPressed,
  6. required void onSegmentPressed(
    1. int index
    ),
})

Implementation

const FileBrowserPathViewModel({
  required this.path,
  required this.segments,
  required this.currentSelectionCount,
  required this.rootLabel,
  required this.onRootPressed,
  required this.onSegmentPressed,
});