flutterSdk top-level property

Directory? flutterSdk

Returns the path to he Flutter SDK sidekick should use for the flutter command

This variable is usually set to a pinned version of the Flutter SDK per project, i.e.

Implementation

Directory? get flutterSdk {
  if (_activeRunner == null) {
    throw OutOfCommandRunnerScopeException('flutterSdk');
  }
  return _activeRunner?.flutterSdk;
}