-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Reland "Nnbd widgets" #65528
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
Reland "Nnbd widgets" #65528
Conversation
goderbauer
left a comment
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
|
Note for google3: cl/330814656 must be applied when this rolls into google3 (fix is scheduled in FROB). |
|
This change also requires dart-lang/sdk@8008c8d, which has already landed in Flutter. |
@goderbauer feel free to merge this PR when you're available to follow up on google3 |
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.
@a14n, could this be String this.data so that you can't pass nulls to the default constructor (i.e. Text(null) should be an error) ?
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.
Sure! Thanks for the review :) A lint could make sense to catch similar issue.
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.
Done. I also changed Text.rich textSpan parameter.
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.
Filed dart-lang/linter#2237
|
"google testing" failure was probably caused by an internal merge conflict. Should be resolved. I restarted the tests. Let's see what happens. |
|
"google testing" is passing. I've marked it as waiting for the tree to go green. |
|
This should fix the test failure: #65860. |
Description
AsyncSnapshot.withDataRelated Issues