Commit 6196bd2 1 parent 3ba4627 commit 6196bd2 Copy full SHA for 6196bd2
File tree 6 files changed +26
-2
lines changed
6 files changed +26
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.9.8+1
2
+
3
+ * Ignores deprecation warnings for upcoming styleFrom button API changes.
4
+
1
5
## 0.9.8
2
6
3
7
* Switches to internal method channel implementation.
Original file line number Diff line number Diff line change @@ -374,11 +374,15 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
374
374
375
375
Widget _exposureModeControlRowWidget () {
376
376
final ButtonStyle styleAuto = TextButton .styleFrom (
377
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
378
+ // ignore: deprecated_member_use
377
379
primary: controller? .value.exposureMode == ExposureMode .auto
378
380
? Colors .orange
379
381
: Colors .blue,
380
382
);
381
383
final ButtonStyle styleLocked = TextButton .styleFrom (
384
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
385
+ // ignore: deprecated_member_use
382
386
primary: controller? .value.exposureMode == ExposureMode .locked
383
387
? Colors .orange
384
388
: Colors .blue,
@@ -460,11 +464,15 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
460
464
461
465
Widget _focusModeControlRowWidget () {
462
466
final ButtonStyle styleAuto = TextButton .styleFrom (
467
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
468
+ // ignore: deprecated_member_use
463
469
primary: controller? .value.focusMode == FocusMode .auto
464
470
? Colors .orange
465
471
: Colors .blue,
466
472
);
467
473
final ButtonStyle styleLocked = TextButton .styleFrom (
474
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
475
+ // ignore: deprecated_member_use
468
476
primary: controller? .value.focusMode == FocusMode .locked
469
477
? Colors .orange
470
478
: Colors .blue,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_android
2
2
description : Android implementation of the camera plugin.
3
3
repository : https://github.com/flutter/plugins/tree/main/packages/camera/camera_android
4
4
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5
- version : 0.9.8
5
+ version : 0.9.8+1
6
6
7
7
environment :
8
8
sdk : " >=2.14.0 <3.0.0"
Original file line number Diff line number Diff line change
1
+ ## 0.9.8+1
2
+
3
+ * Ignores deprecation warnings for upcoming styleFrom button API changes.
4
+
1
5
## 0.9.8
2
6
3
7
* Switches to internal method channel implementation.
Original file line number Diff line number Diff line change @@ -374,11 +374,15 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
374
374
375
375
Widget _exposureModeControlRowWidget () {
376
376
final ButtonStyle styleAuto = TextButton .styleFrom (
377
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
378
+ // ignore: deprecated_member_use
377
379
primary: controller? .value.exposureMode == ExposureMode .auto
378
380
? Colors .orange
379
381
: Colors .blue,
380
382
);
381
383
final ButtonStyle styleLocked = TextButton .styleFrom (
384
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
385
+ // ignore: deprecated_member_use
382
386
primary: controller? .value.exposureMode == ExposureMode .locked
383
387
? Colors .orange
384
388
: Colors .blue,
@@ -460,11 +464,15 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
460
464
461
465
Widget _focusModeControlRowWidget () {
462
466
final ButtonStyle styleAuto = TextButton .styleFrom (
467
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
468
+ // ignore: deprecated_member_use
463
469
primary: controller? .value.focusMode == FocusMode .auto
464
470
? Colors .orange
465
471
: Colors .blue,
466
472
);
467
473
final ButtonStyle styleLocked = TextButton .styleFrom (
474
+ // TODO(darrenaustin): Migrate to new API once it lands in stable: https://github.com/flutter/flutter/issues/105724
475
+ // ignore: deprecated_member_use
468
476
primary: controller? .value.focusMode == FocusMode .locked
469
477
? Colors .orange
470
478
: Colors .blue,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_avfoundation
2
2
description : iOS implementation of the camera plugin.
3
3
repository : https://github.com/flutter/plugins/tree/main/packages/camera/camera_avfoundation
4
4
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5
- version : 0.9.8
5
+ version : 0.9.8+1
6
6
7
7
environment :
8
8
sdk : " >=2.14.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments