runPubGet method

Future<bool> runPubGet()

Implementation

Future<bool> runPubGet() async {
  try {
    final shell = Shell();
    _cliHelper.printInfo('  Running flutter pub get...');

    await shell.run('flutter pub get');
    _cliHelper.printSuccess('  ✓ Dependencies resolved successfully');
    return true;
  } catch (e) {
    _cliHelper.printError('  ✗ Failed to run pub get: $e');
    return false;
  }
}