Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to pick files with custom or any file type on Android 14 #1551

Closed
stan-at-work opened this issue Jul 15, 2024 · 3 comments
Closed

Unable to pick files with custom or any file type on Android 14 #1551

stan-at-work opened this issue Jul 15, 2024 · 3 comments
Labels
new issue An issue that hasn't yet been seen from the maintainer stale

Comments

@stan-at-work
Copy link

Duplicate of #1404.

Because its getting flagged as stale

@stan-at-work stan-at-work added the new issue An issue that hasn't yet been seen from the maintainer label Jul 15, 2024
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Jul 23, 2024
Copy link

github-actions bot commented Aug 6, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Aug 6, 2024
@AmitBhandari7777
Copy link

   var showTypeSelector = true;

 
    customTypeViewerBuilder: (types) {
      return types[0];
    },
    typeSelectors: [
      TypeSelector(
        type: FileType.media,
        selector: Visibility(
          visible: showTypeSelector,
          child: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Icon(
                  Icons.cloud_upload_outlined,
                  size: 100,
                  color: Colors.grey.shade400,
                ),
                const Text(
                  "Upload media",
                ),
              ],
            ),
          ),
        ),
      ),
    ],
    onChanged: (value) {
      setState(() {
        showTypeSelector = value!.isEmpty;
      });
    },
    
    This is my current solution.
    I hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer stale
Projects
None yet
Development

No branches or pull requests

2 participants