flutterExecutablePath top-level property Null safety

String? flutterExecutablePath

Resolved flutter path if found

Implementation

String? get flutterExecutablePath =>
    _flutterExecutablePath ??= whichSync('flutter');
void flutterExecutablePath=(String? path)
@Deprecated('Dev only')

Test only

Implementation

@Deprecated('Dev only')
set flutterExecutablePath(String? path) {
  _flutterExecutablePath = path;
  // Reset info
  _flutterBinInfo = null;
}