IOVFS class

Inheritance

Constructors

IOVFS(Directory rootDirectory, {bool showExtensions = true, String workingDirectory = "/", List<VFSComparator> comparators = const [VFSComparatorName()], List<VFSLayout> layouts = const [VFSLayoutList(), VFSLayoutGrid()]})

Properties

canGoUp bool
no setterinherited
comparatorIndex int
no setterinherited
comparators List<VFSComparator>
finalinherited
currentComparator VFSComparator
no setterinherited
currentLayout VFSLayout
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isComparatorReversed bool
no setterinherited
layoutIndex int
no setterinherited
layouts List<VFSLayout>
finalinherited
listen Stream<int>
no setterinherited
realRoot String
no setter
root VFolder
no setterinherited
rootDirectory Directory
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection BehaviorSubject<List<VEntity>>
finalinherited
showExtensions bool
final
workingDirectory String
getter/setter pairinherited
workingVFolder BehaviorSubject<VFolder>
latefinalinherited

Methods

buildComparatorMenuItems(BuildContext context) Iterable<MenuItem>
inherited
buildLayoutMenuItems(BuildContext context) Iterable<MenuItem>
inherited
checkWorkingDirectory() Future<bool>
inherited
defaultEntityMenuItems(BuildContext context, List<VEntity> entities) Iterable<MenuItem>
inherited
defaultFileMenuItems(BuildContext context, List<VFile> files) Iterable<MenuItem>
inherited
defaultFolderMenuItems(BuildContext context, List<VFolder> folders) Iterable<MenuItem>
inherited
delete(VEntity entity) Future<void>
inherited
deleteAll(List<VEntity> entities) Future<void>
inherited
deleteDialog(BuildContext context, List<VEntity> entities) Future<void>
inherited
dispose() → void
inherited
exists(String path) Future<bool>
inherited
expandSelection(Offset drift) Future<void>
inherited
findUnallocatedName(String path) Future<String>
inherited
getAllChildren(List<VEntity> roots) Stream<VEntity>
inherited
getChildren(VFolder folder) Stream<VEntity>
inherited
getEntity(String path) Future<VEntity?>
inherited
getEntityMenuItems(BuildContext context, List<VEntity> entities) Iterable<MenuItem>
inherited
getFileMenuItems(BuildContext context, List<VFile> files) Iterable<MenuItem>
inherited
getFolderMenuItems(BuildContext context, List<VFolder> folders) Iterable<MenuItem>
inherited
getRealPath(String localPath) String
getVFSPath(String realPath) String
goUp() → void
inherited
insertDrop(BuildContext context, List<DropItem> files) Future<void>
inherited
invalidate([String? path]) → void
inherited
isSelected(VEntity ent) bool
inherited
mkdir(String path, {bool recursive = true, bool $recursing = false}) Future<VFolder>
inherited
mkdirDialog(BuildContext context) → void
inherited
move(VEntity entity, VFolder into, {bool $recursing = false}) Future<void>
inherited
moveInto(VFolder ent, VEntity dragged) Future<void>
inherited
moveSelection(Offset drift) Future<void>
inherited
moveUpOut(VEntity dragged) Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDeleteEmptyFolder(VFolder folder) Future<void>
override
onDeleteFile(VFile file) Future<void>
override
onEntityMenuItems(BuildContext context, List<VEntity> entities) Iterable<MenuItem>
override
onExists(String path) Future<bool>
override
onFileMenuItems(BuildContext context, List<VFile> files) Iterable<MenuItem>
override
onFolderMenuItems(BuildContext context, List<VFolder> folders) Iterable<MenuItem>
override
onGetChildren(VFolder folder) Stream<VEntity>
override
onGetEntity(String path) Future<VEntity?>
override
onMakeDirectory(String path) Future<VFolder>
override
onMoveFile(VFile entity, String newPath) Future<void>
override
onReadFileStream(String path) Stream<List<int>>
override
onTick() Future<void>
override
onWatchDirectory(String path) Stream<bool>
override
onWriteFile(String path, Stream<List<int>> byteStream) Future<void>
override
openFolder(VFolder entity) → void
inherited
readFileBytes(String path) Stream<List<int>>
inherited
renameDialog(BuildContext context, VEntity entity) Future<void>
inherited
renameEntity(VEntity entity, String newName) Future<void>
inherited
selectAll() Future<void>
inherited
selectionWithFocus(VEntity focus) List<VEntity>
inherited
setComparator(VFSComparator comparator, {bool reversed = false}) → void
inherited
setComparatorIndex(int comparator, {bool reversed = false}) → void
inherited
setLayout(VFSLayout layout) → void
inherited
setLayoutIndex(int layout) → void
inherited
tap(BuildContext context, VEntity ent) → void
inherited
tapOpen(BuildContext context, VEntity ent) → void
inherited
tick() Future<void>
inherited
toDirectory(String path) Directory
toFile(String path) File
toString() String
A string representation of this object.
inherited
update() → void
inherited
watchDirectory(String path) Stream<bool>
inherited
watchTargetDirectory(String wd) → void
inherited
writeFileBytes(String path, List<int> bytes) Future<void>
inherited
writeFileStream(String path, Stream<List<int>> byteStream) Future<void>
inherited
writeFileText(String path, String textContent) Future<void>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getFileIcon(String path) IconData
getFolderIcon(String path) IconData