搜尋套件、儲存庫與 APP 分類

flutter_local_notifications 封面
套件詳情v23.0.2

flutter_local_notifications

一個跨平台插件,用於在 Flutter 應用中顯示和排程本機通知,並支援針對每個平台進行自訂。

AndroidiOSmacOSWindowsLinux
近 30 天下載
405萬
喜歡數
7370
Pub 分數
150

安裝套件

flutter pub add flutter_local_notifications

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個跨平台的 Flutter 插件,可在 Android、iOS、macOS、Windows 和 Linux 上顯示和排程本機通知。它提供平台特定的自訂選項,讓開發者能為每個作業系統客製化通知的外觀與行為。該插件支援豐富的通知功能,例如圖示、聲音、震動和動作。它可順暢整合至 Flutter 應用,並由受信任的開發社群維護。

適用情境

  • 計畫提醒
  • 發送定時警報
  • 透過類似推播的通知提升使用者參與度
  • 顯示應用程式更新或事件
  • 提供對後台任務的反饋

主要特色

  • 平台特定的自定義
  • 對豐富通知的支援
  • 計畫和即時通知
  • 自訂聲音和震動
  • 通知操作和回覆
  • 跨平台相容性

適合對象

  • 移動和桌面 Flutter 應用
  • 需要及時用戶提醒的應用
  • 生產力和提醒應用程式
  • 後台任務追蹤
  • 用戶參與功能

使用建議

  • 需要平台特定的設定(例如,Android 清單項目)
  • 權限可能因平台而異
  • 僅限本機通知(非遠端)
  • 通知行為在不同平台上有略微差異
  • 建議在所有目標平台進行測試

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flutter Local Notifications plugin

This repository consists hosts the following packages

These can be found in the corresponding directories within the same name. Most developers are likely here as they are looking to use the flutter_local_notifications plugin. There is a readme file within each directory with more information.

Issues

If you run into bugs, please raise them on the GitHub repository. Please do not email them to me as GitHub is the appropriate place for them and allows for members of the community to answer questions, particularly if I miss the email. It would also be much appreciated if they could be limited to actual bugs or feature requests. If you're looking at how you could use the plugin to do a particular kind of notification, check the example app provides detailed code samples for each supported feature. Also try to check the README first in case you have missed something e.g. platform-specific setup.

Contributing

If you are interested in contributing, please review the contribution guide

所屬分類

依賴

依賴清單 6 項

  • clock^1.1.0
  • flutter_local_notifications_linux^9.0.0
  • flutter_local_notifications_platform_interface^13.0.0
  • flutter_local_notifications_web^2.0.0
  • flutter_local_notifications_windows^4.0.1
  • timezone^0.11.0

原始碼儲存庫

使用此套件的專案

所在榜單