Ad

How To Display Notifications On Windows Using Flutter?

- 1 answer

I want to show notifications on windows using Flutter. But I'm unable to do so.

I've tried packages like deskkop_notifications and flutter_local_notifications. But none seems to work. I've tried Cloud Firestore too but it doesn't support windows.

Also, I've read online that it doesn't matter which platform you use, the project will work fine. But that doesn't seem true for me.

Reference

Is there any way to do so? If not, then is there any other way to capture the user's attention? (when the app is running)

Something like this -

Something like this (Source - Google)

Extra - I am not talking of any specific kind of notification (like push notification), any type of notification will do.

Ad

Answer

Currently push notifications on Windows desktop don‘t seem to be possible. Your reference is about flutter push notification on the web. For windows desktop there currently aren’t any packages on pub dev. If Notification is a key feature of your App You could make a WebApp first, and wait for a package which supports Windows desktop notifications…

Edit: There is a new Package which supports local push notifications on Windows (+Linux, MacOS)

Ad
source: stackoverflow.com
Ad