v0.0.3
windows_toast
一个简单的 Flutter 包,专为在 Windows 应用程序中显示通知气泡而设计。
3喜欢 27近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个用于在 Windows 应用程序中显示 Toast 通知的 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,
);