config 0.0.5

  • Example
  • Installing
  • Versions
  • 31


Support for environment configurations


A simple usage example:

import 'package:config/config.dart';

main() {
  // TODO: ...

Features and bugs

Please file feature requests and bugs at the issue tracker.



  • Update dependency versions on constrain and converters


  • Initial version, created by Stagehand


// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

library config.example;

//import 'package:config/config.dart';

main() {}

Use this package as a library

1. Depend on it

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

  config: "^0.0.5"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or 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:config/config.dart';
Version Uploaded Documentation Archive
0.0.5 Apr 10, 2016 Go to the documentation of config 0.0.5 Download config 0.0.5 archive
0.0.4 Jan 6, 2016 Go to the documentation of config 0.0.4 Download config 0.0.4 archive
0.0.3 Aug 13, 2015 Go to the documentation of config 0.0.3 Download config 0.0.3 archive


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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
29 / 100
Code health derived from static analysis. [more]
57 / 100
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, other

Primary library: package:config/config.dart with components: io.


  • Package is too old.

    The package was released more than two years ago.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 4 errors 1 hint.

    Strong-mode analysis of lib/src/config.dart failed with the following error:

    line: 8 col: 33
    Type parameter bound types must be instantiated.

    Strong-mode analysis of lib/src/config_impl.dart failed with the following error:

    line: 9 col: 40
    Type parameter bound types must be instantiated.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <2.0.0
constrain ^0.2.8 0.2.8
converters ^0.0.3 0.0.3
logging >=0.10.0 <0.12.0 0.11.3+1
option ^1.1.0 1.2.0
quiver >=0.18.2 <0.22.0 0.21.4 0.29.0+1
Transitive dependencies
collection 1.14.10
concepts 0.2.0
either 0.1.8
matcher 0.12.3
path 1.6.1
stack_trace 1.9.2
Dev dependencies
test >=0.12.0 <0.13.0