File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
packages/camera/camera_web Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 0.3.0
2+
3+ * ** BREAKING CHANGE** : Renames error code ` cameraPermission ` to ` CameraAccessDenied ` to be consistent with other platforms.
4+
15## 0.2.1+6
26
37* Minor fixes for new analysis options.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ void main() {
4646 testWidgets ('permissionDenied' , (WidgetTester tester) async {
4747 expect (
4848 CameraErrorCode .permissionDenied.toString (),
49- equals ('cameraPermission ' ),
49+ equals ('CameraAccessDenied ' ),
5050 );
5151 });
5252
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class CameraErrorCode {
3232 /// The camera cannot be used or the permission
3333 /// to access the camera is not granted.
3434 static const CameraErrorCode permissionDenied =
35- CameraErrorCode ._('cameraPermission ' );
35+ CameraErrorCode ._('CameraAccessDenied ' );
3636
3737 /// The camera options are incorrect or attempted
3838 /// to access the media input from an insecure context.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_web
22description : A Flutter plugin for getting information about and controlling the camera on Web.
33repository : https://github.com/flutter/plugins/tree/main/packages/camera/camera_web
44issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5- version : 0.2.1+6
5+ version : 0.3.0
66
77environment :
88 sdk : " >=2.12.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments