generators/dependency_installer library

Constants

defaultDependencies → const List<String>
Packages added to the host Flutter project's pubspec.yaml on init.

Functions

installDependencies({List<String> packages = defaultDependencies, ProcessRunner runner = _defaultRunner}) → bool
Adds packages to the Flutter project in the current directory with flutter pub add.

Typedefs

ProcessRunner = ProcessResult Function(String executable, List<String> arguments)
Runs executable with arguments and returns the result.