cdli-gh / cdli-mobile-app

MIT License
4 stars 8 forks source link

"Scaffold.of(context).showSnackBar" is deprecated #15

Closed Adityabhaumik closed 3 years ago

Adityabhaumik commented 3 years ago

"Scaffold.of(context).showSnackBar" is depricated and a new way of doing this is made available (https://flutter.dev/docs/release/breaking-changes/scaffold-messenger)

Adityabhaumik commented 3 years ago

@NishealJ should I start working on this?

Adityabhaumik commented 3 years ago

@NishealJ I have made the "snackbar" changes and pushed but that not recognized as a different pr but went as a new commit in the previous loader pr I made will that a problem?

MrUnfunny commented 3 years ago

Hi @Adityabhaumik "Scaffold.of(context).showSnackBar" is not deprecated yet in the stable release. It's deprecated in beta and above versions. I believe you might be using them if you're shown this warning. Please check the timeline here

Adityabhaumik commented 3 years ago

@MrUnfunny shoot! didn't notice I have been using beta Thankss