在Flutter本地通知中如何添加按钮?

huangapple go评论52阅读模式
英文:

How can I add button in Flutter local notification in flutter

问题

我有一个Flutter应用程序,正在使用Flutter本地通知。我需要添加一个“推迟”按钮和重定向到主屏幕的功能,以选择用户期望的时间。

或者还有其他方法可以知道用户设备上的推迟按钮。

英文:

I have Flutter app and I'm using a flutter local notification. I need to add a "snooze" button and functionality to redirect to the home screen to select the user's expected time.

Or is there any other way to know the snooze button in users device
在Flutter本地通知中如何添加按钮?

答案1

得分: 0

我猜这个问题无法在Flutter代码中修复。因为这是Android特定的操作,并且此操作在本机后台运行。

英文:

I guess this problem can't fix in flutter code. because this is android Specific action and this action run in native background working.

huangapple
  • 本文由 发表于 2023年2月23日 19:45:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/75544386.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定