fast_media_picker

Last updated:

0 purchases

fast_media_picker Image
fast_media_picker Images
Add to Cart

Description:

fast media picker

fast_media_picker #
Media picker based on Instagram's UI design.

Getting started #
Before using fast_media_picker, photo_manager and permission_handler need to be configured.
You can (should) also check the Example for correct setup details.
Setup photo_manager #
Please read this section.
Setup permission_handler #
Please read this section.
Usage #
Example usage;
List<AssetEntity>? result = await FastMediaPicker.pick(
context,
configs: FastMediaPickerConfigs(
type: RequestType.image,
pickLimit: 1,
crossAxisCount: 4,
),
);
copied to clipboard
Getting the first File from AssetEntity;
if (result == null || result.isEmpty) return;
File? image = await result.first.file;
copied to clipboard
Customize UI #
The body while fast_media_picker asking for permission.
configs: FastMediaPickerConfigs(
...
// This, also can be your Widget.
permissionRequestWidget: DefaultPermissionRequestBody(
// Title with big font.
titleText: '',
// Messages shows as a icon-text pair.
messages: [
PermissionRequestMessages(icon, 'message'),
],
// Button to request permission.
allowActionText: '',
// Button to go to Settings.
goToSettingsActionText: '',
),
),
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.