-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Add a BindingBase.debugBindingType() method to enable asserts that want to verify that the binding isn't initialized #98226
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
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
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.
typo: in -> it
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.
Document that calling this is only valid in debug mode and will return null in non-debug mode even when the bindings are initialized?
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.
oh yikes, good call, i totally forgot to mention that
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.
lint is complaining about initializing this to null.
…nt to verify that the binding isn't initialized
… that want to verify that the binding isn't initialized (flutter/flutter#98226)
… that want to verify that the binding isn't initialized (flutter/flutter#98226)
… that want to verify that the binding isn't initialized (flutter/flutter#98226)
… that want to verify that the binding isn't initialized (flutter/flutter#98226)
… that want to verify that the binding isn't initialized (flutter/flutter#98226)
…nt to verify that the binding isn't initialized (flutter#98226)
No description provided.