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

Fixing persistent attribute value in _showTopFlash #34

Closed
wants to merge 2 commits into from

Conversation

hilderlanherbert
Copy link

This attribute causes an error when it is set to false and the component is not shown.

_AssertionError ('package:flash/flash.dart': Failed assertion: line 99 pos 14: 'overlay != rootOverlay': overlay can't be the root overlay when persistent is false)

This attribute causes an error when it is set to false and the component is not shown. 

_AssertionError ('package:flash/flash.dart': Failed assertion: line 99 pos 14: 'overlay != rootOverlay': overlay can't be the root overlay when persistent is false)
Fixing persistent attribute value in _showTopFlash
@sososdk
Copy link
Owner

sososdk commented Nov 5, 2021

When persistent is set to false, you must have your own Overlay.

@sososdk sososdk closed this Nov 10, 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.

2 participants