camera_platform_interface
A common platform interface for the camera plugin.
2.13.1
1.3M downloads/mo
#297 most downloaded on pub.dev
flutter/packages
What this package is like to depend on
Last release 1 months ago
09 Jul 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 40 of 40 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
41 releases · first in 2020
4 releases in the last 12 months
see the full history below
Release timeline
41 releases · Dec 2020 to Jul 2026
2021
2022
2023
2024
2025
2026
Releases
latest 41-
2.13.109 Jul 2026Release notes
Open source →- Changes the default implementation of
setJpegImageQualityto a no-op so that platforms that do not support it ignore the setting instead of throwing. - Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
- Changes the default implementation of
-
2.13.014 Apr 2026Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
- Adds
setJpegImageQualityfor controlling JPEG compression quality.
-
2.12.004 Nov 2025 -
2.11.017 Sep 2025Release notes
Open source →- Adds a flag to configure a recording to be persistent across camera changes. See
VideoCaptureOptions.enablePersistentRecording. - Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
- Adds a flag to configure a recording to be persistent across camera changes. See
-
2.10.025 Mar 2025Release notes
Open source →- Introduces a new
CameraLensTypeenum to provide lens type information about the camera (e.g., ultra-wide, telephoto, ...).
- Introduces a new
-
2.9.007 Jan 2025Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
- Adds API support query for image streaming.
-
2.8.009 Jul 2024Release notes
Open source →- Deprecates
maxVideoDuration/maxDuration, as it was never implemented on most platforms, and there is no plan to implement it in the future. - Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
- Deprecates
-
2.7.423 Feb 2024Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
- Documents
getExposureOffsetStepSizeto return -1 if the device does not support exposure compensation.
-
2.7.302 Feb 2024Release notes
Open source →- Adds documentation to clarify that platform implementations of the plugin use resolution presets as target resolutions.
-
2.7.209 Jan 2024 -
2.7.104 Jan 2024 -
2.7.014 Dec 2023Release notes
Open source →- Adds support for setting the image file format. See
CameraPlatform.setImageFileFormat. - Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Adds support for setting the image file format. See
-
2.6.023 Oct 2023Release notes
Open source →- Adds support to control video fps and bitrate. See
CameraPlatform.createCameraWithSettings.
- Adds support to control video fps and bitrate. See
-
2.5.229 Aug 2023Release notes
Open source →- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
-
2.5.122 May 2023Release notes
Open source →- Removes obsolete null checks on non-nullable values.
- Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
-
2.5.027 Mar 2023Release notes
Open source →- Adds NV21 as an image stream format (suitable for Android).
- Aligns Dart and Flutter SDK constraints.
-
2.4.122 Feb 2023 -
2.4.006 Feb 2023Release notes
Open source →- Allows camera to be switched while video recording.
- Updates minimum Flutter version to 3.0.
-
2.3.420 Jan 2023 -
2.3.310 Jan 2023 -
2.3.209 Dec 2022Release notes
Open source →- Updates MethodChannelCamera to have startVideoRecording call the newer startVideoCapturing.
-
2.3.121 Nov 2022Release notes
Open source →- Exports VideoCaptureOptions to allow dependencies to implement concurrent stream and record.
-
2.3.001 Nov 2022Release notes
Open source →- Adds new capture method for a camera to allow concurrent streaming and recording.
-
2.2.228 Sep 2022 -
2.2.128 Sep 2022Release notes
Open source →- Updates imports for
prefer_relative_imports. - Updates minimum Flutter version to 2.10.
- Fixes avoid_redundant_argument_values lint warnings and minor typos.
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
- Ignores missing return warnings in preparation for upcoming analysis changes.
- Updates imports for
-
2.2.025 May 2022Release notes
Open source →- Adds image streaming to the platform interface.
- Removes unnecessary imports.
-
2.1.621 Apr 2022 -
2.1.526 Jan 2022 -
2.1.410 Jan 2022 -
2.1.307 Jan 2022Release notes
Open source →- Update to use the
verifymethod introduced in platform_plugin_interface 2.1.0.
- Update to use the
-
2.1.204 Jan 2022 -
2.1.117 Sep 2021 -
2.1.028 Jul 2021Release notes
Open source →- Introduces interface methods for pausing and resuming the camera preview.
-
2.0.102 Mar 2021 -
2.0.025 Feb 2021 -
2.0.0-nullsafety11 Feb 2021 pre-releaseNothing published for this version
-
1.5.008 Jan 2021Release notes
Open source →- Introduces interface methods for locking and unlocking the capture orientation.
- Introduces interface method for listening to the device orientation.
-
1.3.006 Jan 2021 -
1.2.028 Dec 2020 -
1.0.416 Dec 2020Release notes
Open source →- Added the torch option to the FlashMode enum, which when implemented indicates the flash light should be turned on continuously.
-
1.0.007 Dec 2020