generators/dependency_installer library
Constants
-
defaultDependencies
→ const List<
String> -
Packages added to the host Flutter project's
pubspec.yamloninit.
Functions
-
installDependencies(
{List< String> packages = defaultDependencies, ProcessRunner runner = _defaultRunner}) → bool -
Adds
packagesto the Flutter project in the current directory withflutter pub add.
Typedefs
-
ProcessRunner
= ProcessResult Function(String executable, List<
String> arguments) -
Runs
executablewithargumentsand returns the result.