Skip to content

Update date picker examples, remove unused variables and add missing tests - #121528

Merged
auto-submit[bot] merged 3 commits into
flutter:masterfrom
NevercodeHQ:update_examples_and_add_missing_test
Feb 28, 2023
Merged

auto-submit[bot] merged 3 commits into
flutter:masterfrom
NevercodeHQ:update_examples_and_add_missing_test

Conversation

@TahaTesser

@TahaTesser TahaTesser commented Feb 27, 2023 •

Copy link
Copy Markdown
Contributor

part of #101048 (final example)
fix #121028
fix #120765

Description

  1. Update date picker examples and add missing tests for Update DatePicker to support Material 3  #101481
  2. Remove an unused variable in the switch example and add the missing test.
  3. Remove an unused variable in the filter chip example

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard flutter-dashboard Bot added d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos documentation p: material_ui material_ui package in flutter/packages c: contributor-productivity Team-specific productivity, code health, technical debt. labels Feb 27, 2023

@HansMuller HansMuller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, just some nit picking, mostly about the existing code.

Comment thread examples/api/lib/material/filter_chip/filter_chip.0.dart Outdated
Comment thread examples/api/lib/material/filter_chip/filter_chip.0.dart Outdated
Comment thread examples/api/lib/material/switch/switch.2.dart Outdated
Comment thread examples/api/test/material/switch/switch.2_test.dart Outdated

@HansMuller HansMuller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread examples/api/lib/material/filter_chip/filter_chip.0.dart Outdated
@TahaTesser TahaTesser added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 27, 2023
@TahaTesser
TahaTesser force-pushed the update_examples_and_add_missing_test branch from bcef88d to 6365dce Compare February 28, 2023 07:11
@auto-submit
auto-submit Bot merged commit 87679ff into flutter:master Feb 28, 2023
@TahaTesser
TahaTesser deleted the update_examples_and_add_missing_test branch February 28, 2023 08:44
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 28, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App c: contributor-productivity Team-specific productivity, code health, technical debt. d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unused variable in the example of FilterChip. Unused variable in Switch class example

2 participants