pickCamera method

  1. @override
Future<PickerValue> pickCamera({
  1. String? dialogTitle,
  2. PickerFileType type = PickerFileType.any,
})
override

Implement a process to activate the camera and pick up the captured media files.

The title of the file dialog to be picked up is passed in dialogTitle.

Please specify type to restrict the type of file.

カメラを起動し、撮影したメディアファイルをピックアップするための処理を実装してください。

dialogTitleでピックアップする際のファイルダイアログのタイトルが渡されます。

typeを指定するとファイルの種類を制限するようにしてください。

Implementation

@override
Future<PickerValue> pickCamera({
  String? dialogTitle,
  PickerFileType type = PickerFileType.any,
}) {
  throw UnsupportedError("Camera functions are not supported.");
}