camerawesome_plugin library

Classes

AnalysisCameraState
Only image analysis, no preview, no photo or video captures
AnalysisConfig
AnalysisController
AnalysisImage
AndroidAnalysisOptions
AnimatedClipRect
AwesomeAspectRatioButton
AwesomeBottomActions
AwesomeBouncingWidget
AwesomeButtonTheme
AwesomeCameraGestureDetector
AwesomeCameraLayout
This widget doesn't handle PreparingCameraState
AwesomeCameraModeSelector
AwesomeCameraPreview
This is a fullscreen camera preview some part of the preview are cropped so we have a full sized camera preview
AwesomeCameraPreviewState
AwesomeCameraSwitchButton
AwesomeCaptureButton
AwesomeCircleWidget
AwesomeFilter
AwesomeFilterButton
AwesomeFilterWidget
AwesomeFlashButton
AwesomeFocusIndicator
AwesomeFocusPainter
AwesomeLocationButton
AwesomeMediaPreview
AwesomeOrientedWidget
AwesomeOrientedWidgetState
AwesomePauseResumeButton
AwesomeSensorTypeSelector
AwesomeTheme
AwesomeThemeProvider
AwesomeTopActions
Bgra8888Image
CameraAwesomeBuilder
This is the entry point of the CameraAwesome plugin You can either
CameraButtonPainter
CameraCharacteristics
CameraModePager
CameraState
CamerawesomePlugin
Don't use this class directly. Instead, use CameraAwesomeBuilder.
CupertinoAnalysisOptions
ImagePlane
JpegImage
MediaCapture
Nv21Image
OnPreviewScale
OnPreviewTap
OnPreviewTapBuilder
PhotoCameraState
When Camera is in Image mode
PhotoFilterModel
PreparingCameraState
When is not ready
PreviewCameraState
Show the preview with optional image analysis, no photo or video captures
SaveConfig
SensorConfig
SensorData
used to expose Brightness level
VideoButtonPainter
VideoCameraState
When Camera is in Video mode
VideoRecordingCameraState
When Camera is in Video mode
Yuv420Image

Extensions

AnalysisUnwrapper on AnalysisImageWrapper
Unwraps (converts) the AnalysisImageWrapper to a AnalysisImage. AnalysisImageWrapper is generated by pigeon and should not be handled by end-user.
AnalysisWrapper on AnalysisImage
Wraps (converts) the AnalysisImage to a AnalysisImageWrapper. AnalysisImageWrapper is generated by pigeon and should not be handled by end-user.
Bgra8888Converter on Bgra8888Image
Nv21Converter on Nv21Image
PermissionsMatcher on List<CamerAwesomePermission>
PermissionsUtils on CamerAwesomePermission
PlaneUnwrap on PlaneWrapper
Unwraps (converts) the PlaneWrapper to a ImagePlane. PlaneWrapper is generated by pigeon and should not be handled by end-user.
PlaneWrap on ImagePlane
Wraps (converts) the ImagePlane to a PlaneWrapper. PlaneWrapper is generated by pigeon and should not be handled by end-user.
Yuv420Converter on Yuv420Image

Typedefs

ButtonBuilder = Widget Function(Widget child, VoidCallback onTap)
CameraLayoutBuilder = Widget Function(CameraState state, PreviewSize previewSize, Rect previewRect)
This is the builder for your camera interface Using the state you can do anything you need without having to think about the camera flow On app start we are in PreparingCameraState Then depending on the initialCaptureMode you set you will be PhotoCameraState or VideoCameraState Starting a video will push a VideoRecordingCameraState Stopping the video will push back the VideoCameraState
FilePathBuilder = Future<String> Function()
OnAnalysisOnlyMode = dynamic Function(AnalysisCameraState)
OnChangeCameraRequest = dynamic Function(CaptureMode mode)
OnImageForAnalysis = Future Function(AnalysisImage image)
Analysis image stream listener
OnMediaTap = (dynamic Function(MediaCapture mediaCapture)?)
Callback when a video or photo has been saved and user click on thumbnail
OnPermissionsResult = void Function(bool result)
Used to set a permission result callback
OnPhotoMode = dynamic Function(PhotoCameraState)
OnPreparingCamera = dynamic Function(PreparingCameraState)
OnPreviewMode = dynamic Function(PreviewCameraState)
OnVideoMode = dynamic Function(VideoCameraState)
OnVideoRecordingMode = dynamic Function(VideoRecordingCameraState)