Commit a2ec7a9
authored
_Description of what this PR is changing or adding, and why:_
Replaces the deprecated `activeColor` property with `activeThumbColor`
in Learn Flutter example code
(https://docs.flutter.dev/get-started/fundamentals/user-input#switch) to
help new Flutter developers learn current best practices and avoid using
deprecated APIs.
_Issues fixed by this PR (if any):_
#12690
_PRs or commits this PR depends on (if any):_
## Presubmit checklist
- [x] If you are unwilling, or unable, to sign the CLA, even for a
_tiny_, one-word PR, please file an issue instead of a PR.
- [ ] If this PR is not meant to land until a future stable release,
mark it as draft with an explanation.
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style)—for example, it doesn't
use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first-person
pronouns).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
1 parent f39b6e3 commit a2ec7a9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
| 728 | + | |
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| |||
0 commit comments