v0.0.3
windows_toast
一個簡單的 Flutter 套件,專門用於在 Windows 應用程式中顯示通知氣泡。
3喜歡 27近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個用於在 Windows 應用程式中顯示訊息提示的 Flutter 套件。
{"sdk":"flutter"}^3.0.0{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
A simple flutter package designed to display toast notifications in Windows applications. This package is similar to fluttertoast package, but it is designed to work with Windows applications also.
See the example app for detailed implementation information.
| Features | Android | iOS | macOS | Web | Windows |
|---|---|---|---|---|---|
| Show toast | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Android | iOS | macOS | Web | Linux | Windows |
|---|---|---|---|---|---|
| ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
Import the package with:
import 'package:windows_toast/windows_toast.dart';
Then, use the following code to display a toast notification in your onpressed function or wherever you want to display the toast notification:
WindowsToast.show(
'Hello, Windows Toast!',
context,
30,
);