This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +26
-2
lines changed
Expand file tree Collapse file tree 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+
15## 0.9.8
26
37* 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>
374374
375375 Widget _exposureModeControlRowWidget () {
376376 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
377379 primary: controller? .value.exposureMode == ExposureMode .auto
378380 ? Colors .orange
379381 : Colors .blue,
380382 );
381383 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
382386 primary: controller? .value.exposureMode == ExposureMode .locked
383387 ? Colors .orange
384388 : Colors .blue,
@@ -460,11 +464,15 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
460464
461465 Widget _focusModeControlRowWidget () {
462466 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
463469 primary: controller? .value.focusMode == FocusMode .auto
464470 ? Colors .orange
465471 : Colors .blue,
466472 );
467473 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
468476 primary: controller? .value.focusMode == FocusMode .locked
469477 ? Colors .orange
470478 : Colors .blue,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_android
22description : Android implementation of the camera plugin.
33repository : https://github.com/flutter/plugins/tree/main/packages/camera/camera_android
44issue_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
66
77environment :
88 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+
15## 0.9.8
26
37* 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>
374374
375375 Widget _exposureModeControlRowWidget () {
376376 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
377379 primary: controller? .value.exposureMode == ExposureMode .auto
378380 ? Colors .orange
379381 : Colors .blue,
380382 );
381383 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
382386 primary: controller? .value.exposureMode == ExposureMode .locked
383387 ? Colors .orange
384388 : Colors .blue,
@@ -460,11 +464,15 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
460464
461465 Widget _focusModeControlRowWidget () {
462466 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
463469 primary: controller? .value.focusMode == FocusMode .auto
464470 ? Colors .orange
465471 : Colors .blue,
466472 );
467473 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
468476 primary: controller? .value.focusMode == FocusMode .locked
469477 ? Colors .orange
470478 : Colors .blue,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_avfoundation
22description : iOS implementation of the camera plugin.
33repository : https://github.com/flutter/plugins/tree/main/packages/camera/camera_avfoundation
44issue_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
66
77environment :
88 sdk : " >=2.14.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments