OPEN_FOLDER property

ShowFileChooserRequestMode OPEN_FOLDER
final

Like Open but allows a folder to be selected. The implementation should enumerate all files selected by this operation. This feature is not supported at the moment.

Officially Supported Platforms/Implementations:

  • Android WebView

Implementation

static final OPEN_FOLDER = ShowFileChooserRequestMode._internalMultiPlatform(
  2,
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.android:
        return 2;
      default:
        break;
    }
    return null;
  },
);