Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

making flutter navigator onComplete method receives null value #1050

Closed
wants to merge 2 commits into from

Conversation

Maram-g-abbas
Copy link

@Maram-g-abbas Maram-g-abbas commented Nov 22, 2023

This PR changes the navigator on Complete method to make it receives a nullable value so that when the navigator is canceled and no date is selected no exception gets thrown as 'type 'Null' is not a subtype of type 'DateTime' in type cast'

Fixes #1041


Note: Please find the development and releasing instructions at https://github.com/flutter/gallery#development

@guidezpl
Copy link
Member

This seems to be fixed already by #1042, closing

@guidezpl guidezpl closed this Jan 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

type 'Null' is not a subtype of type 'DateTime' in type cast
2 participants