PickerAdapter class abstract

Adapter for defining the internal process for file picks in Picker.

Some file pick functions restrict the platform (e.g., camera functions), so if necessary, an adapter can be defined and used.

If you have a PickerAdapter that you want to use, define it in advance in PickerAdapterScope or pass it directly when creating a Picker object.

Pickerでファイルピックを行うための内部処理を定義するためのアダプター。

ファイルピックの機能によってはプラットフォームを制限するものがある(カメラ機能など)ため必要であればアダプターを定義して利用します。

利用したいPickerAdapterがある場合は、PickerAdapterScopeで予め定義するかPickerのオブジェクト作成時に直接渡してください。

Implementers

Constructors

PickerAdapter()
Adapter for defining the internal process for file picks in Picker.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickCamera({String? dialogTitle, PickerFileType type = PickerFileType.any}) Future<PickerValue>
Implement a process to activate the camera and pick up the captured media files.
pickMultiple({String? dialogTitle, PickerFileType type = PickerFileType.any}) Future<List<PickerValue>>
Implement a process to pick up multiple files.
pickSingle({String? dialogTitle, PickerFileType type = PickerFileType.any}) Future<PickerValue>
Implement a process to pick up single files.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

primary PickerAdapter
You can retrieve the PickerAdapter first given by PickerAdapterScope.
no setter