0

I am making a launcher in flutter and I wanted to show notification panel when swipe down on homescreen.

I am trying with flutter_local_notifications package but I cant figure out how to do it,

 GestureDetector(
     onVerticalDragDown: (details) {
     // how do launch notification panel ?
     }
 )
      

Edit:

Here is the example: https://i.stack.imgur.com/rJBCF.gif

HandLeg
  • 1
  • 3
  • Do you mean a snackbar? – MrOrhan Jun 07 '23 at 10:10
  • No. Notification panel like this https://www.sammyfans.com/wp-content/uploads/2022/07/samsung-one-ui-5-notification-panel-img.jpg similar to when you are on home screen of your phone and when swipe down it shows notifications and device settings. – HandLeg Jun 07 '23 at 11:20
  • If I am not wrong, I just took a sneak peak in the package, it is to sen the User some notifications. It has nothing to do with the panel. The Panel itself is the original Panel from Android. If you want to create a Panel for your App only, you have to wirte your self a Panel or use a library for it – MrOrhan Jun 07 '23 at 12:38
  • Yeah I have checked it again flutter_local_notifications package doesn't that functionality. I just want to show or launch notification panel of android when you swipe down in home screen just like in most of the launcher. – HandLeg Jun 07 '23 at 13:18

1 Answers1

0

--- First of all my comment as an aswer---
If I am not wrong, I just took a sneak peak in the package, it is to sen the User some notifications. It has nothing to do with the panel. The Panel itself is the original Panel from Android. If you want to create a Panel for your App only, you have to wirte your self a Panel or use a library for it.

--- Then to your second comment as an answer---
You are able to pull down the Panel from any app. I even didnt find any settings to turn it off. So to use/show ur pannel, just drag down from very top of your screen from your phone/emulator down.

MrOrhan
  • 877
  • 6
  • 21
  • here is the example https://i.stack.imgur.com/rJBCF.gif – HandLeg Jun 08 '23 at 08:58
  • Well This is possible on the homescreen on the App. I dont know, But also think if there is a possibility. Since also No one wants to Open the Control Panel in the App Screen – MrOrhan Jun 08 '23 at 16:27