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

Scaffold.of() called with a context that does not contain a Scaffold. #32

Closed
tenSunFree opened this issue Sep 7, 2020 · 1 comment
Closed

Comments

@tenSunFree
Copy link

Scaffold.of() called with a context that does not contain a Scaffold.
01
02

Maybe you can solve this problem by adding ScaffoldStateGlobalKey.
03

wasabeef added a commit that referenced this issue Sep 9, 2020
@wasabeef
Copy link
Owner

wasabeef commented Sep 9, 2020

@tenSunFree
Thank you for your advice. That's correct.
But I want to think more about how using Scackbar with Riverpod. So now I don't use the Snackbar this time 🤔

@wasabeef wasabeef closed this as completed Sep 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants