Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

  • Replaces Color methods that were deprecated in Flutter with their recommended replacement.
  • Replaces cloudMapId with the newer mapId from the platform interface configuration object (the former is now just a deprecated passthrough to the latter).

Part of flutter/flutter#159739

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

- Replaces `Color` methods that were deprecated in Flutter with their
  recommended replacement.
- Replaces `cloudMapId` with the newer `mapId` from the platform
  interface configuration object (the former is now just a deprecated
  passthrough to the latter).

Part of flutter/flutter#159739
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly replaces several deprecated APIs. The use of deprecated Color methods has been updated to their modern equivalents, and cloudMapId has been replaced with the current mapId. The changes are correct and align with the goal of keeping the codebase up-to-date. I have one minor suggestion to make the changelog entry more comprehensive.

@@ -1,3 +1,7 @@
## 0.5.14+3

* Replaces uses of deprecated `Color` properties.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The changelog entry is a bit incomplete. It should also mention the replacement of the deprecated cloudMapId property to fully capture the changes in this PR.

Suggested change
* Replaces uses of deprecated `Color` properties.
* Replaces uses of deprecated `Color` properties and `cloudMapId`.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion!

@@ -1,3 +1,7 @@
## 0.5.14+3

* Replaces uses of deprecated `Color` properties.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants