environment_config 4.1.1 copy "environment_config: ^4.1.1" to clipboard
environment_config: ^4.1.1 copied to clipboard

Environment specific config generator. Allows to specify env configuration during CI/CD build. Primarily created to simplify Flutter build configuration

130/ 160
pub points
2.63k
downloads

We analyzed this package 42 hours ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

34 out of 92 API elements (37.0 %) have documentation comments.

Some symbols that are missing documentation: argument_parser, argument_parser.ArgumentParser.ArgumentParser.new, config, config.Config.Config.fromMap, config.Config.Config.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:environment_config/config.dart that imports:
  • package:environment_config/platform_value_provider.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Missing type annotation.

lib/config.dart:124:27

    ╷
124 │   String? _getConfigValue(key, [String? defaultValue]) {
    │                           ^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/config.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args >=2.0.0 <3.0.0 2.7.0 2.7.0
code_builder >=4.0.0 <5.0.0 4.12.0 4.12.0
dart_style >=3.0.0 <4.0.0 3.1.13 3.1.13
yaml >=3.0.0 <4.0.0 3.1.4 3.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 108.0.0 108.0.0
analyzer - 14.4.0 14.4.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
built_collection - 5.1.1 5.1.1
built_value - 8.13.0 8.13.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.2.0 2.2.0
matcher - 0.12.20 0.12.20
meta - 1.19.0 1.19.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
pub_semver - 2.2.1 2.2.1
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.14 0.7.14
typed_data - 1.4.0 1.4.0
watcher - 1.2.1 1.2.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_GETTER - lib/config_generator.dart:69:11 - The getter 'ignoreForFile' isn't defined for the type 'LibraryBuilder'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Dart 3.13.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
91
likes
130
points
2.63k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Environment specific config generator. Allows to specify env configuration during CI/CD build. Primarily created to simplify Flutter build configuration

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

args, code_builder, dart_style, yaml

More

Packages that depend on environment_config