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 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
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,
);