Anshul Raj
Anshul Raj

Reputation: 63

How to display notifications on windows using flutter?

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.

Upvotes: 2

Views: 7720

Answers (3)

Paras Laxkar
Paras Laxkar

Reputation: 21

You can check windows_notification package.

Upvotes: 1

Salifu
Salifu

Reputation: 21

There are packages available on pub that support desktop notifications. try M_toast package

Upvotes: 1

Pascal Gehring
Pascal Gehring

Reputation: 167

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 flutter_local_notifications package which supports local notifications on Android, iOS, MacOS and Linux.

Upvotes: 4

Related Questions