dataview 0.3.1

Dataview #

pub package Build Status

A file explorer for the application's documents directory. Can upload files and directories to a server.


Usage #

In a router:

   import 'package:dataview/dataview.dart';

   final routes = {
    // ...
    '/dataview': (BuildContext context) => new DataviewPage("/"),

In a link:

   import 'package:dataview/dataview.dart';

   // ...
    onPressed: () {
      builder: (context) {
       return DataviewPage("/");
   child: Text("View application data"))

Upload files and directories #

Specify the uploadTo parameter to be able to upload to a server:

      uploadTo: "",

A default basic development Go server is provided for local usage. A compiled version for Linux is attached to the Github release. To run it:


It will receive the files in the same directory as the running binary

Changelog #

0.3.1 #

  • Upgrade to path_provider ^0.5.0+1

0.3.0 #

  • Downgrade to path_provider 0.4.0
  • Improve error management
  • Use more strict linting rules
  • Fix error router initialization

0.2.0 #

Add the upload feature for files and directories

0.1.1 #

Remove old code and improve package description

0.1.0 #

Initial release


example #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  dataview: ^0.3.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:dataview/dataview.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 22, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19
  • Flutter: 1.7.8+hotfix.3


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/src/page_file_explorer.dart.

Run flutter format to format lib/src/page_file_explorer.dart.

Maintenance issues and suggestions

Support latest dependencies. (-20 points)

The version constraint in pubspec.yaml does not support the latest published versions for 2 dependencies (flutter_slidable, path_provider).


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
archive ^2.0.8 2.0.10
cupertino_icons ^0.1.2 0.1.2
dio ^2.0.20 2.1.13
err ^0.7.1 0.7.3
filesize ^1.0.1 1.0.4
flutter 0.0.0
flutter_slidable ^0.4.9 0.4.9 0.5.3
fluttertoast ^3.0.1 3.1.0
path_provider ^0.5.0+1 0.5.0+1 1.1.2
Transitive dependencies
args 1.5.2
charcode 1.1.2
collection 1.14.11
convert 2.1.1
cookie_jar 1.0.1
crypto 2.0.6
flushbar 1.8.0
meta 1.1.6 1.1.7
path 1.6.2
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies