Please file feature requests and bugs at the issue tracker.
Add this to your package's pubspec.yaml file:
dependencies: package_config: ^1.0.5
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:package_config/discovery.dart'; import 'package:package_config/discovery_analysis.dart'; import 'package:package_config/packages.dart'; import 'package:package_config/packages_file.dart';
|1.0.5||Jul 18, 2018|
|1.0.4||Jul 17, 2018|
|1.0.3||Sep 22, 2017|
|1.0.2||Jul 19, 2017|
|1.0.1||May 4, 2017|
|1.0.0||Jun 14, 2016|
|0.1.5||Jun 9, 2016|
|0.1.3||Aug 20, 2015|
|0.1.1||Jun 24, 2015|
|0.0.4||Jun 16, 2015|
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]
We analyzed this package on Apr 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, other
Platform components identified in package:
lib/discovery_analysis.dart. (-0.50 points)
lib/discovery_analysis.dart reported 1 hint:
line 60 col 21: Use
= to separate a named parameter from its default value.
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
package_config.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
The package description is too short. (-3 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.