pubspec_runtime library
Support for runtime manipulation of YAML files. Developed by: @ramansharma100
This library provides functionalities to dynamically update dependencies and assets
in the pubspec.yaml file of a Dart project at runtime.
More detailed documentation can be found in the src directory, particularly in
pubspec_runtime_base.dart.
Classes
- Dependency
-
Class representing a dependency in the
pubspec.yamlfile. - DependencyManager
-
A class to manage dependencies and assets in the
pubspec.yamlfile. - Parser
- class Parser used to parse the yaml file
- PubspecEditor
-
A Dart library for managing the
pubspec.yamlfile at runtime.
Enums
- DependencyKey
- Enum for specifying the type of dependencies.
- DependencyType
- Enum for specifying the type of dependencies.
Extensions
- DependencyKeyExtension on DependencyKey
- Extension on DependencyKey to get the string value of the key.
Properties
- isDependencyDownloading ↔ bool
-
getter/setter pair
Functions
-
runPubGet(
) → Future< ProcessResult> -
Run
flutter pub getcommand. -
watchForDependencyDownloads(
) → void