Skip to content
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

Fixes types nullability for compatibility with dart:html APIs: #81

Merged
merged 1 commit into from Sep 7, 2023

Conversation

fsw
Copy link
Collaborator

@fsw fsw commented Sep 6, 2023

Seems that nullability of those fields changed before dart 2.17 so I think those can be safely updated as this library targets sdk >=2.17.0

set Location.search to nullable
https://api.dart.dev/stable/2.17.0/dart-html/Location/search.html

set HttpRequest.responseText to nullable
https://api.dart.dev/stable/2.17.0/dart-html/HttpRequest/responseText.html

added HttpRequestUpload interface events
https://api.dart.dev/stable/2.17.0/dart-html/HttpRequestUpload-class.html

set FormData.get return to nullable
https://api.dart.dev/stable/2.17.0/dart-html/FormData/get.html

set Element.className to non nullable
https://api.dart.dev/stable/2.17.0/dart-html/Element/className.html

set SelectElement.value to nullable
https://api.dart.dev/stable/2.17.0/dart-html/SelectElement/value.html

set TextAreaElement.textLength and TextAreaElement.value to nullable
https://api.dart.dev/stable/2.17.0/dart-html/TextAreaElement-class.html

added Touch.page
https://api.dart.dev/stable/2.17.0/dart-html/Touch-class.html

Touch.page
Location.search
HttpRequest.responseText
HttpRequestUpload interface events
FormData.get
Element.className
SelectElement.value
SelectElement.textLength
TextAreaElement.value
@terrier989 terrier989 merged commit 33d2dbe into dint-dev:master Sep 7, 2023
3 checks passed
@terrier989
Copy link
Member

Thank you for the PR! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants