FlAssetsPicker constructor

const FlAssetsPicker({
  1. Key? key,
  2. FlAssetFileRenovate? renovate,
  3. required int maxVideoCount,
  4. required int maxCount,
  5. required List<PickerFromTypeConfig> fromRequestTypes,
  6. bool enablePicker = true,
  7. PickerErrorCallback? errorCallback,
  8. PickerFromTypeBuilder? fromTypesBuilder,
  9. CameraPickerPageRoute<AssetEntity> pageRouteBuilderForCameraPicker(
    1. Widget picker
    )?,
  10. AssetPickerPageRouteBuilder<List<AssetEntity>>? pageRouteBuilderForAssetPicker,
  11. FlAssetsPickerCheckPermission? checkPermission,
})

Implementation

const FlAssetsPicker(
    {super.key,
    this.renovate,
    required this.maxVideoCount,
    required this.maxCount,
    required this.fromRequestTypes,
    this.enablePicker = true,
    this.errorCallback,
    this.fromTypesBuilder,
    this.pageRouteBuilderForCameraPicker,
    this.pageRouteBuilderForAssetPicker,
    this.checkPermission});