这是indexloc提供的服务,不要输入任何密码
Skip to content

Remove callback asserts on FocusableActionDetector #58272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2020

Conversation

gspencergoog
Copy link
Contributor

Description

This makes the callback arguments to FocusableActionDetector optional, if you (for instance) only want to define shortcuts and actions and a focus node for something.

Tests

  • Added a test to make sure that the FocusableActionDetector can be used without callbacks.

Breaking Change

  • No, this is not a breaking change.

@gspencergoog gspencergoog added the a: desktop Running on desktop label May 29, 2020
@gspencergoog gspencergoog requested a review from darrenaustin May 29, 2020 21:09
@fluttergithubbot fluttergithubbot added the framework flutter/packages/flutter repository. See also f: labels. label May 29, 2020
Copy link
Contributor

@darrenaustin darrenaustin left a comment

Choose a reason for hiding this comment

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

LGTM. Thx for the quick fix!

@gspencergoog gspencergoog merged commit 37f562f into flutter:master May 29, 2020
@gspencergoog gspencergoog deleted the optional_fad_callbacks branch May 29, 2020 22:57
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: desktop Running on desktop framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants