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

🐛 #138 Show Unhandled Exception: Null check operator used on a nu… #142

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

meetjanani
Copy link
Contributor

@meetjanani meetjanani commented Sep 15, 2021

🐛 fix #138 Show Unhandled Exception: Null check operator used on a null value error

.insert(overlayEntry);
if (ShowCaseWidget.of(context)?.context != null &&
Overlay.of(ShowCaseWidget.of(context)!.context) != null) {
Overlay.of(ShowCaseWidget.of(context)?.context ?? context)!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?? context is not required as it is already been checked in if condition.

@vatsaltanna vatsaltanna merged commit fa3f8a9 into SimformSolutionsPvtLtd:master Oct 11, 2021
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.

show Unhandled Exception: Null check operator used on a null value error
3 participants