camerawesome_plugin library Null safety
Classes
- AnalysisConfig
- AnalysisController
- AnalysisImage
- AnalysisParams
- AwesomeAspectRatioButton
- AwesomeBouncingWidget
- AwesomeCameraGestureDetector
- 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
- AwesomeFilter
- AwesomeFlashButton
- AwesomeFocusIndicator
- AwesomeFocusPainter
- AwesomeLocationButton
- AwesomeMediaPreview
- AwesomeOrientedWidget
- AwesomeOrientedWidgetState
- AwesomePauseResumeButton
- AwesomeSensorTypeSelector
- CameraAwesomeBuilder
- This is the entry point of the CameraAwesome plugin You can either
- CameraButtonPainter
- CameraModePager
- CameraState
- CamerawesomePlugin
- Don't use this class directly. Instead, use CameraAwesomeBuilder.
- CenterCropClipper
- ImagePlane
- MediaCapture
- OnPreviewScale
- OnPreviewTap
- OnPreviewTapBuilder
- PhotoCameraState
- When Camera is in Image mode
- PhotoFilterModel
- PreparingCameraState
- When is not ready
- SaveConfig
- SensorConfig
- SensorData
- used to expose Brightness level
- VideoButtonPainter
- VideoCameraState
- When Camera is in Video mode
- VideoRecordingCameraState
- When Camera is in Video mode
Extensions
Functions
-
applyFilter(
PhotoFilterModel model) → Future< File> -
inputAnalysisImageFormatParser(
String value) → InputAnalysisImageFormat
Enums
Typedefs
- 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() - 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)
- OnVideoMode = dynamic Function(VideoCameraState)
- OnVideoRecordingMode = dynamic Function(VideoRecordingCameraState)