Package selection guidance compiled from public package information, community data, and project usage.
Gallery Picker is a Flutter package designed to simplify media selection from device galleries. It provides modern, customizable interfaces for browsing, selecting, and managing images and videos across Android and iOS platforms. With intuitive navigation and responsive views, it enhances user experience when integrating gallery functionality into apps. The package supports both single and multiple file selections, making it ideal for photo uploads, profile pictures, or content creation features. Built with performance and usability in mind, it seamlessly integrates with existing Flutter projects.
Use cases
Selecting multiple images or videos
Uploading media to a server
Creating profile or cover photos
Building content creation tools
Integrating gallery browsing in social apps
Key features
Modern, responsive UI
Support for multiple media selection
Cross-platform compatibility (Android & iOS)
Easy integration with Flutter
Customizable gallery navigation
Built-in media management tools
Suitable for
Social media apps
Photo sharing platforms
User profile customization
Content management systems
Mobile apps requiring media uploads
Considerations
Requires appropriate permissions for accessing media
May need additional styling for brand consistency
Limited to native gallery access
Not suitable for cloud-based media sources
Depends on platform-specific gallery APIs
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
gallery_picker
Gallery Picker is a flutter package that will allow you to pick media file(s), manage and navigate inside your gallery with modern tools and views.
Within the Gallery Picker you can design a page that will be redirected after selecting any image(s).
Note: There are two builder called multipleMediaBuilder and heroBuilder. If you designed both of them, multipleMediaBuilder will be shown after picking multiple media files, heroBuilder will be shown after picking a single media. If you only designed multipleMediaBuilder, multipleMediaBuilder will be shown after picking any file. Use given hero tag to view your Hero image. You can see a simple example below.
There is an example at example/lib/examples/pick_medias_with_builder.dart to see how it could be done.
There are two pages called "Recent" and "Gallery". You could change the initial page.
List<MediaFile>? media = awaitGalleryPicker.pickMedia(
context: context,
startWithRecent: true,
)
MediaFile
GalleryPicker returns MediaFile list. You can reach out features below.
[✔] Medium
[✔] Id
[✔] MediaType
[✔] Thumbnail
[✔] Check with thumbnailFailed if fetching thumbnail fails
[✔] Check with fileFailed if getting file fails
[✔] File
[✔] getThumbnail function
[✔] getFile function
[✔] getData function
[✔] Check if the file selected in gallery picker
Permission
Required permissions will be requested when gallery picker is launched. In case of user's rejection of request, the problem will be handled within gallery picker package.