HLPickerOptions class
Constructors
- HLPickerOptions({int? numberOfColumn, bool? usedCameraButton, MediaType? mediaType, int? maxSelectedAssets, int? minSelectedAssets, double? maxFileSize, double? minFileSize, bool? enablePreview, bool? convertHeicToJPG, bool? convertLivePhotosToJPG, bool? isExportThumbnail, @Deprecated('Use maxDuration instead') int? recordVideoMaxSecond, double? thumbnailCompressQuality, CompressFormat? thumbnailCompressFormat, int? maxDuration, int? minDuration, bool? isGif, CompressFormat? compressFormat, double? compressQuality, MaxSizeOutput? maxSizeOutput})
- 
          
            const
Properties
- compressFormat → CompressFormat?
- 
  The image format for compressed images: CompressFormat.jpg, CompressFormat.png.
  final
- compressQuality → double?
- 
  The compression quality for compressed images.
  final
- convertHeicToJPG → bool?
- 
  Converts HEIC format images to JPEG format when selected.
  final
- convertLivePhotosToJPG → bool?
- 
  Converts Live Photos to JPEG format when selected.
  final
- enablePreview → bool?
- 
  Enables or disables the preview feature.
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isExportThumbnail → bool?
- 
  Determines whether to export thumbnail for selected videos.
  final
- isGif → bool?
- 
  Enable gif selection
  final
- maxDuration → int?
- 
  The maximum duration (in seconds) for selected videos.
  final
- maxFileSize → double?
- 
  The maximum allowed file size for selected items.
  final
- maxSelectedAssets → int?
- 
  The maximum number of items that can be selected.
  final
- maxSizeOutput → MaxSizeOutput?
- 
  Sets the maximum width and maximum height for selected images.
  final
- mediaType → MediaType?
- 
  Type of media you want to select: MediaType.image, MediaType.video, MediaType.all.
  final
- minDuration → int?
- 
  The minimum duration (in seconds) for selected videos.
  final
- minFileSize → double?
- 
  The minimum allowed file size for selected items.
  final
- minSelectedAssets → int?
- 
  The minimum number of items that must be selected.
  final
- numberOfColumn → int?
- 
  The number of items displayed per row in the picker list.
  final
- recordVideoMaxSecond → int?
- 
  The maximum duration (in seconds) for recorded video.
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- thumbnailCompressFormat → CompressFormat?
- 
  The image format for exported thumbnails: CompressFormat.jpg, CompressFormat.png.
  final
- thumbnailCompressQuality → double?
- 
  The compression quality for exported thumbnails.
  final
- usedCameraButton → bool?
- 
  Determines whether to show the camera button in the picker list.
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toMap() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited