Filex
Configurable file explorer widget for Flutter.
Usage
Simple:
With leading and trailing builders:
Trailing and leading options are: fileTrailingBuilder
, directoryLeadingBuilder
and directoryTrailingBuilder
Controller
Include dialogs to add and delete directories:
Available controller actions:
controller.delete(DirectoryItem item)
: delete a file or directory
controller.createDirectory(String name)
: create a directory
controller.ls()
: list the current directory
controller.dispose()
: dispose the bloc when finished using
Custom actions
It is possible to add custom actions in the slidable menu:
Changefeed
A stream with directory listing items is available to implement
on change callbacks: