runFlutterPubGet method

Future<void> runFlutterPubGet(
  1. String projectPath
)

Runs flutter pub get in the target project.

Implementation

Future<void> runFlutterPubGet(String projectPath) async {
  await runCommand(
    'flutter',
    ['pub', 'get'],
    workingDirectory: projectPath,
    showOutput: true,
  );
}