config 0.0.5

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

config

Support for environment configurations

Usage

A simple usage example:

import 'package:config/config.dart';

main() {
  // TODO: ...
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.0.4

  • Update dependency versions on constrain and converters

0.0.1

  • Initial version, created by Stagehand

example/config.dart

// 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() {}

1. Depend on it

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


dependencies:
  config: "^0.0.5"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub 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

Analysis

This feature is new.
We welcome feedback.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Dec 6, 2017
  • Dart: 2.0.0-dev.8.0
  • pana: 0.7.3+1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
7
Health:
Code health derived from static analysis. [more]
23
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
21
Overall score:
Weighted score of the above. [more]
14

Platforms

Detected platforms:

Error(s) prevent platform classification.

Suggestions

  • Fix lib/src/config.dart.

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

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

  • Fix lib/src/config_impl.dart.

    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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
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.26.2
Transitive dependencies
collection 1.14.3
concepts 0.2.0
either 0.1.8
matcher 0.12.1+4
path 1.5.1
stack_trace 1.9.1
Dev dependencies
test >=0.12.0 <0.13.0