VFS constructor

VFS({
  1. String workingDirectory = "/",
  2. List<VFSComparator> comparators = const [VFSComparatorName()],
  3. List<VFSLayout> layouts = const [VFSLayoutList(), VFSLayoutGrid()],
})

Implementation

VFS({
  this.workingDirectory = "/",
  this.comparators = const [VFSComparatorName()],
  this.layouts = const [VFSLayoutList(), VFSLayoutGrid()],
})  : assert(comparators.isNotEmpty, "At least one comparator is required"),
      assert(layouts.isNotEmpty, "At least one layout is required") {
  _init();
}