FastMediaPickerConfigs class

Constructors

FastMediaPickerConfigs({RequestType type = RequestType.common, int pickLimit = 1, int crossAxisCount = 4, double childAspectRatio = 1, ThumbnailOption thumbnailOptionGrid(AssetEntity)?, ThumbnailOption thumbnailOptionPreview(AssetEntity)?, Widget emptyWidget = const DefaultEmptyBody(noMediaText: 'No Media'), Widget loadingWidget = const DefaultLoadingBody(), Widget doneWidget = const DefaultDoneButton(doneButtonText: 'Done'), Widget permissionRequestWidget = const DefaultPermissionRequestBody(titleText: 'Access your photos and videos', messages: [PermissionRequestMessages(CupertinoIcons.info, "You'll be given options to access all your photos or manually select a few."), PermissionRequestMessages(CupertinoIcons.checkmark_shield, "You're in control. You decide what photos and videos you share."), PermissionRequestMessages(CupertinoIcons.photo, "It's easier to share when you can access your whole photos and videos.")], allowActionText: 'Allow', goToSettingsActionText: 'Go to settings'), Widget limitedPermissionRowWidget = const DefaultLimitedPermissionRow(limitedPermissionDescriptionText: "You've given limited permission to access photos and videos.", manageLimitedPermissionText: 'Manage')})
const

Properties

childAspectRatio double
final
crossAxisCount int
final
doneWidget Widget
final
emptyWidget Widget
final
hashCode int
The hash code for this object.
no setterinherited
limitedPermissionRowWidget Widget
final
loadingWidget Widget
final
permissionRequestWidget Widget
final
pickLimit int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnailOptionGrid → (ThumbnailOption Function(AssetEntity)?)
final
thumbnailOptionPreview → (ThumbnailOption Function(AssetEntity)?)
final
type RequestType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited