system_files_viewer 1.0.5 copy "system_files_viewer: ^1.0.5" to clipboard
system_files_viewer: ^1.0.5 copied to clipboard

A package that allows navigating between directories within the application.

system_files_viewer #

A package that allows navigating between directories within the application.

SystemFilesViewer #

A class that allows calling methods to navigate to Directory or File details.

final directory = await getApplicationDocumentsDirectory();
SystemFilesViewer.openDirectoryPage(
    context: context,
    directory: directory,
);

final file = File('file_path');
SystemFilesViewer.openFileDetailsPage(
    context: context,
    file: file,
);

You can also use DirectoryPage to access Directory or FileDetailsPage to access File

Navigator.of(context).push(
                MaterialPageRoute(
                  builder: (context) {
                    return DirectoryPage(
                      directory: directory,
                    );
                  },
                ),
              );

Navigator.of(context).push(
                MaterialPageRoute(
                  builder: (context) {
                    return FileDetailsPage(
                      file: file,
                    );
                  },
                ),
              );
5
likes
140
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

A package that allows navigating between directories within the application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on system_files_viewer