I'm not a Flutter Developer, but this helped my team understand the Permission part handling in a very simple way... Thanks... Will be looking for more... Keep it Up... 👍
Permission_checker() async { var status = await Permission.storage.status; if (status.isDenied) { await Permission.storage.request(); print("Ask for Permission"); } } i do that code everything work fine but await Permission.storage.request(); not work
If you are using only single permission, then remove async-await… Or if still your code is not working then install Plabs Source App for The Source Code. It’s Free !!! Link is in the Description Box 📦
I'm not a Flutter Developer, but this helped my team understand the Permission part handling in a very simple way... Thanks... Will be looking for more... Keep it Up... 👍
Thanks Buddy ✨
thanks !!!!☺
You're welcome!
Permission_checker() async {
var status = await Permission.storage.status;
if (status.isDenied) {
await Permission.storage.request();
print("Ask for Permission");
}
}
i do that code everything work fine but await Permission.storage.request(); not work
If you are using only single permission, then remove async-await…
Or if still your code is not working then install Plabs Source App for The Source Code. It’s Free !!!
Link is in the Description Box 📦
seems good but you forgot the deny case, how to deal with it ?
If in case you deny permission then you redirect the user to the settings of the app😃
what is the name of the vscode extension that you use to show errors when typing code ?
There are many extensions i used in my vs code.
should i make video on that?😅
@flutterplabs I think you misunderstood me. I found what I was looking for. The name of the extension is : Error Lens. Thanks.
Ok bro😅