You can, however, you will need to use a Builder to wrap around the Scaffold and use the context given by the Builder => build: (context) to display the snackBar. stackoverflow.com/questions/51304568/scaffold-of-called-with-a-context-that-does-not-contain-a-scaffold
incredible video, not even in the documentation is so clear. Thank you. Hi here from Brazil.
Searched everywhere but the answer is here. Great explanation on global keys.
still relevant.. thank you
Brandon, thanks for the video. I'm just starting with flutter and wondering why we couldn't just use `Scaffold.of(context).showSnackBar()` here ? Best
You can, however, you will need to use a Builder to wrap around the Scaffold and use the context given by the Builder => build: (context) to display the snackBar.
stackoverflow.com/questions/51304568/scaffold-of-called-with-a-context-that-does-not-contain-a-scaffold
Great tutorial.
Thanks Brandon
Great video, I from Brazil, how can i put validator in the fields implying that I move to the next screen?
great pace
Please post a video how to efficiently use global keys