-
Notifications
You must be signed in to change notification settings - Fork 1.5k
ScaffoldMessenger class not found #350
Comments
@YWD Scaffold Messenger is introduced here, please fetch the latest changes from |
@YWD please upgrade flutter to master branch as ScaffoldMessanger is newly add |
@Alabhya268 i do have upgraded version of master branch, i was just telling @YWD about it, as he had created a issue for this. |
@ayaankhan98 sorry it's my fault.i misunderstood the comment |
I'm using the latest master channel! Doctor summary (to see all details, run flutter doctor -v): ! Doctor found issues in 1 category. |
Oh, It's Android Studio's problem, I have two flutter environment on my computer, and I use stable channel for one project, master channel for gallery. but the 'flutter SDK path' set for gallery project didn't work. I check master channel's scaffold.dart and find there did have 'ScaffoldMessenger'. |
Former-commit-id: 898a2f7
I solved this problem by changing the Flutter channel to master. (#350 (comment)) Hence, run the following in the command line
|
You might need to restart your IDE to remove the squiggly lines, after you've done the steps in in roshan's comment |
where is ScaffoldMessenger!!!
The text was updated successfully, but these errors were encountered: