supportsDirectorySelection property

bool get supportsDirectorySelection

Checks if the current platform supports directory selection

Implementation

static bool get supportsDirectorySelection {
  return !kIsWeb &&
      (io.Platform.isWindows || io.Platform.isMacOS || io.Platform.isLinux);
}