dataview 0.3.1

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 72

Dataview #

pub package Build Status

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

Screenshot

Usage #

In a router:

   import 'package:dataview/dataview.dart';

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

In a link:

   import 'package:dataview/dataview.dart';

   // ...
   RaisedButton(
    onPressed: () {
     Navigator.of(context).push(MaterialPageRoute(
      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:

   DataviewPage(
      "/",
      uploadTo: "http://192.168.1.2:8082/upload",
   )

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:

   ./devserver_linux64

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/README.md

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:


dependencies:
  dataview: ^0.3.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages 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';
  
Version Uploaded Documentation Archive
0.3.1 Apr 25, 2019 Go to the documentation of dataview 0.3.1 Download dataview 0.3.1 archive
0.3.0 Mar 17, 2019 Go to the documentation of dataview 0.3.0 Download dataview 0.3.0 archive
0.2.0 Feb 27, 2019 Go to the documentation of dataview 0.2.0 Download dataview 0.2.0 archive
0.1.1 Feb 5, 2019 Go to the documentation of dataview 0.1.1 Download dataview 0.1.1 archive
0.1.0 Feb 5, 2019 Go to the documentation of dataview 0.1.0 Download dataview 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
44
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
72
Learn more about scoring.

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

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.4.7

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
archive ^2.0.8 2.0.8
cupertino_icons ^0.1.2 0.1.2
dio ^2.0.20 2.1.2
err ^0.7.1 0.7.2
filesize ^1.0.1 1.0.1
flutter 0.0.0
flutter_slidable ^0.4.9 0.4.9
fluttertoast ^3.0.1 3.0.4
path_provider ^0.5.0+1 0.5.0+1
Transitive dependencies
analyzer 0.36.2
args 1.5.1
async 2.2.0
boolean_selector 1.0.4
charcode 1.1.2
collection 1.14.11
convert 2.1.1
cookie_jar 1.0.0
crypto 2.0.6
csslib 0.16.0
flushbar 1.4.0
front_end 0.1.17
glob 1.1.7
html 0.14.0+2
http 0.12.0+2
http_multi_server 2.0.5
http_parser 3.1.3
io 0.3.3
js 0.6.1+1
json_rpc_2 2.1.0
kernel 0.3.17
matcher 0.12.5
meta 1.1.6 1.1.7
mime 0.9.6+2
multi_server_socket 1.0.2
node_preamble 1.4.4
package_config 1.0.5
package_resolver 1.0.10
path 1.6.2
pedantic 1.5.0
pool 1.4.0
pub_semver 1.4.2
shelf 0.7.5
shelf_packages_handler 1.0.4
shelf_static 0.2.8
shelf_web_socket 0.2.3
sky_engine 0.0.99
source_map_stack_trace 1.1.5
source_maps 0.10.8
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.4
term_glyph 1.1.0
test 1.6.2
test_api 0.2.5
test_core 0.2.4
typed_data 1.1.6
vector_math 2.0.8
vm_service_client 0.2.6+1
watcher 0.9.7+10
web_socket_channel 1.0.12
yaml 2.1.15
Dev dependencies
flutter_test