Skip to content

pushnamed can handle Object as type#113242

Merged
auto-submit[bot] merged 1 commit intoflutter:masterfrom
chunhtai:issues/57186
Oct 13, 2022
Merged

pushnamed can handle Object as type#113242
auto-submit[bot] merged 1 commit intoflutter:masterfrom
chunhtai:issues/57186

Conversation

@chunhtai
Copy link
Contributor

related to #57186, but this only allows T to be set as Object. If we want to support int or other type, it requires a big workaround or wait for dart to allow cast type for custom class.

This pr will allow internal customer to migrate to sound null safety

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 f: routes Navigator, Router, and related APIs. framework flutter/packages/flutter repository. See also f: labels. labels Oct 10, 2022
@chunhtai chunhtai requested a review from goderbauer October 10, 2022 23:05
expect(find.text('/second'), findsOneWidget);
});

testWidgets('Pending gestures are rejected', (WidgetTester tester) async {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

only indent change.

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 13, 2022
@auto-submit auto-submit bot merged commit b68c69a into flutter:master Oct 13, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Oct 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 14, 2022
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 f: routes Navigator, Router, and related APIs. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants