app/widgets/camera/widget/camera_picker_viewer library

Author Alex (https://github.com/AlexV525) Date 2020/7/16 22:02

Enums

CameraPickerViewType
Two types for the viewer: image and video. 两种预览类型:图片和视频

Typedefs

EntitySaveCallback = FutureOr Function({BuildContext context, File file, CameraPickerViewType viewType})
The callback type define for saving entity in the viewer. 在查看器中保存图片时的回调