Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Fix onKey handler return values #473

Merged
merged 4 commits into from
Apr 12, 2021

Conversation

gspencergoog
Copy link
Contributor

@gspencergoog gspencergoog commented Apr 12, 2021

This fixes the return values for the onKey handlers used in the gallery code to use the newer KeyEventResult values, rather than bools. The use of the bools will soon be deprecated.

See also: flutter/flutter#80294

@gspencergoog gspencergoog requested a review from rami-a April 12, 2021 19:35
Copy link
Contributor

@rami-a rami-a left a comment

Choose a reason for hiding this comment

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

LGTM

@gspencergoog
Copy link
Contributor Author

Thanks for the review, @rami-a

In order for the formatting tests to pass, I had to include some files where the formatting was fixed: it seems some snuck past the check in previous PRs.

@gspencergoog gspencergoog merged commit 4655d32 into flutter:master Apr 12, 2021
@gspencergoog gspencergoog deleted the onkey_results branch April 12, 2021 20:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants