file_chooser 0.1.2

file_chooser #

DO NOT USE THIS PACKAGE. IT IS ONLY PUBLISHED AS A DEPENDENCY OF FILE_PICKER_CROSS! #

Copyright #

This plugin was and is not developed by me but by Google. The original, unmodified version can be found on their project page. DO NOT CONTACT THEM FOR SUPPORT BUT ASK ON file_picker_cross.

This plugin is licensed under the terms and conditions of the Apache 2 license, which can be found in LICENSE.

About #

The authors describe their plugin as the following:

This plugin provides access to a native file chooser for Open and Save operations.

This is a prototype, and in the long term will either be replaced by functionality
within the Flutter framework itself, or a published plugin (likely part of
flutter/plugins). Either way, the API may change significantly.

Supported Platforms #

  • [x] macOS
  • [x] Windows
  • [x] Linux

macOS and Linux #

To use this plugin on macOS or Linux, you will need to manually modify some files. Please read our notices on file_picker_cross for further information.

Use this package as a library

1. Depend on it

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


dependencies:
  file_chooser: ^0.1.2

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:file_chooser/file_chooser.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
68
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
56
Overall:
Weighted score of the above. [more]
75
Learn more about scoring.

We analyzed this package on May 23, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.1
  • pana: 0.13.8-dev
  • Flutter: 1.17.0

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-14 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and file_chooser.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8