-
Notifications
You must be signed in to change notification settings - Fork 6k
Add the focus state related methods to the platform dispatcher #50273
Conversation
|
cc @zanderso |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (would be nice to add the snippets back in a follow-up PR, though)
lib/ui/platform_dispatcher.dart
Outdated
| /// the callback receives the following [ViewFocusEvent]: | ||
| /// | ||
| /// ```dart | ||
| /// ViewFocusEvent( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For analyzing the snippets, dart:ui is imported as import 'dart:ui' as ui. So, you need to prefix everything coming from dart:ui with ui. in these samples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick review Michael. Will for sure send a follow up PR to bring back those snippets.
Interesting, these patterns are somewhat hidden. It is not intuitive what's expected.
Also, why don't we make these verifications as part of the engine submit process?
…142832) flutter/engine@e292632...266d5d0 2024-02-02 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Move linux_fuchsia to staging" (flutter/engine#50294) 2024-02-02 [email protected] Revert "[Fuchsia] Execute most of the testing/fuchsia/test_suites.yaml on debug and release builds" (flutter/engine#50291) 2024-02-02 [email protected] Move linux_fuchsia to staging (flutter/engine#50288) 2024-02-02 [email protected] Add the focus state related methods to the platform dispatcher (flutter/engine#50273) 2024-02-02 [email protected] Add a link the different possible Android virtual device configs (flutter/engine#50267) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
These changes were originally landed on #49841 but reverted in 0eb7b10. I fixed the offending dart snippets and (think) they now will work without issues (I think I was able to verify them locally by manually patching my bin/cache/... copy of these files with these changes).
Relevant Issues are:
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.