Ad

Is It Possible To Achieve Edge Lighting Notification In Flutter?

I am new to flutter and I want to achieve the functionality of lighting the mobile edge whenever I receive notification in my app.

Is there any package available? (Although, I already google it and I can't find it.) How can we achieve this type of functionality?

Reference link of that kind of application:

Edge Lighting Colors - Flash Alerts
Edge Lighting Colors - Round Colors Galaxy

Thanks in advance!

Ad

Answer

When there is no package available then you have to write one yourself. Read about the native Android API and implement it in a Flutter Plugin. You can also do it without a separate package by implementing it directly in the MainActivity and connecting it to Flutter via a MethodChannel.

Ad
source: stackoverflow.com
Ad