camerawesome_plugin library

Classes

AnalysisCameraState
Only image analysis, no preview, no photo or video captures
AnalysisConfig
AnalysisController
AnalysisImage
AndroidAnalysisOptions
AnimatedClipRect
AnimatedClipRectState
AwesomeAspectRatioButton
AwesomeBottomActions
AwesomeBouncingWidget
AwesomeButtonTheme
AwesomeCameraFloatingPreview
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
AwesomeZoomSelector
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.
CanvasTransformation
CaptureRequest
CupertinoAnalysisOptions
ImagePlane
JpegImage
MediaCapture
MultipleCaptureRequest
Nv21Image
OnPreviewScale
OnPreviewTap
OnPreviewTapBuilder
PhotoCameraState
When Camera is in Image mode
PhotoFilterModel
PictureInPictureConfig
PreparingCameraState
When is not ready
Preview
PreviewCameraState
Show the preview with optional image analysis, no photo or video captures
SaveConfig
Sensor
SensorConfig
SensorData
used to expose Brightness level
SensorDeviceData
SensorTypeDevice
SingleCaptureRequest
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
CanvasTransformationExt on Canvas
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.
PointExt on Point<num>
Yuv420Converter on Yuv420Image

Properties

awesomePresetFiltersList List<AwesomeFilter>
getter/setter pair

Typedefs

ButtonBuilder = Widget Function(Widget child, VoidCallback onTap)
CameraLayoutBuilder = Widget Function(CameraState state, Preview preview)
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
CaptureRequestBuilder = Future<CaptureRequest> Function(List<Sensor> sensors)
OnAnalysisOnlyMode = dynamic Function(AnalysisCameraState)
OnChangeCameraRequest = dynamic Function(CaptureMode mode)
OnImageForAnalysis = Future Function(AnalysisImage image)
Analysis image stream listener The Preview object will help you to convert a point from the preview to the to your screen
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
OnPhotoCallback = dynamic Function(CaptureRequest request)
Callback to get the CaptureRequest after the photo has been taken
OnPhotoFailedCallback = dynamic Function(Exception exception)
OnPhotoMode = dynamic Function(PhotoCameraState)
OnPreparingCamera = dynamic Function(PreparingCameraState)
OnPreviewMode = dynamic Function(PreviewCameraState)
OnVideoCallback = dynamic Function(CaptureRequest request)
Callback to get the CaptureRequest after the video has been taken
OnVideoFailedCallback = dynamic Function(Exception exception)
Callback when video recording failed
OnVideoMode = dynamic Function(VideoCameraState)
OnVideoRecordingMode = dynamic Function(VideoRecordingCameraState)
PictureInPictureBuilder = Widget Function(Widget preview, double aspectRatio)
Builder used to decoarate the preview within it. The preview is the one tied to the sensor. The returned widget should include the preview in order to display it. You must constrain the size of the preview. You can do it by wrapping it within a SizedBox or a Container with a fixed size for example.
PictureInPictureConfigBuilder = PictureInPictureConfig Function(int index, Sensor sensor)