takeVideo abstract method

Future<XFile?> takeVideo({
  1. ImagePickerCameraDelegateOptions options = const ImagePickerCameraDelegateOptions(),
})

Records a video with the given options and returns an XFile to the resulting video file.

Returns null if the video could not be recorded, or the user cancelled.

Implementation

Future<XFile?> takeVideo({
  ImagePickerCameraDelegateOptions options =
      const ImagePickerCameraDelegateOptions(),
});