FLUTTER ECOSYSTEM

package_config

Support for reading and writing Dart Package Configuration files.

Latest version
2.2.0
30-day downloads
6.3M
Likes
13
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The package_config package provides utilities for reading and writing Dart package configuration files, which define the locations of packages in a project. It supports seamless integration with Dart's package resolution system, enabling tools and build systems to locate dependencies accurately. This is particularly useful in development environments where custom or non-standard package layouts are used. The package ensures consistency across different platforms and helps maintain reliable dependency management.

Use cases
  • Managing custom package layouts
  • Integrating with build tools
  • Supporting multi-package projects
  • Enabling cross-platform dependency resolution
  • Debugging package resolution issues
Key features
  • Reads and writes package config files
  • Supports Dart's package resolution protocol
  • Cross-platform compatibility
  • Integration with Flutter and Dart tools
  • Robust error handling
Suitable for
  • Dart tool developers
  • Build system integrators
  • IDE plugin authors
  • Projects with complex package structures
Considerations
  • Requires manual setup for non-standard configurations
  • Not intended for end-user applications
  • Depends on correct file structure
  • Limited to package configuration tasks
  • May require coordination with pub
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add package_config

Categories

Source repository

Related projects