-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[pointer_interceptor] Migrate to null safety #286
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
Conversation
without it it uses canvas and tests fail (Expected: 'flt-platform-view' Actual: 'div')
@ditman should do the full review here. |
Thanks for the ping! This is my next task, I'll take a look within ~24h :) |
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.
This looks great to me. I left some minor comments on the PR, and reversioned to 0.9.0. I've also migrated the integration_test code to null-safety!
Let's wait until #289 lands to merge this!
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
(The |
Alright, thank you for checking this and making the other changes! |
289 has landed, so you can merge in master and the test will pass. |
Merged and published https://pub.dev/packages/pointer_interceptor/versions/0.9.0 It's still being listed as "Preview", I guess because of the version of the SDK we used being a "-0". We might have to revisit this to move 0.9.0 to stable. |
Preview is different than Pre-release; it just means that Pub has noticed that it depends on a version of the Dart SDK that's not yet released to stable (in this case, 2.12). It should automatically change to being listed as stable once that happens (per the very end of this recent post). |
Ooooh, cool, I missed that memo! I thought the publishing warning of "you're publishing a not-preview version that depends on a preview version of the SDK" had toggled something when I published. Thanks for the link! |
Related tracking issue flutter/flutter#75567
also:
--web-renderer=html
to integration test command(seems to be failing without that)
(methods from engine are non-nullable so I replaced
null
withan empty string
)