shutdown_platform
The plugin for go-flutter
to shutdown platform windows
、linux
、mac
only
Getting Started
Install
Add this to your package’s pubspec.yaml file:
dependencies: |
Usage
a simple usage example:
import 'package:shutdown_platform/shutdown_platform.dart'; |
Use go-flutter
Usage
Import as:
import shutdown_platform "github.com/BestBurning/shutdown_platform/go" |
Then add the following option to your go-flutter application options:
flutter.AddPlugin(&shutdown_platform.ShutdownPlatformPlugin{}), |
Pub Dev
it’s published to pub.dev
Source Code
shutdown_platform open source with Github
and the licenses is BSD-3-Clause
本文标题:shutdown_platform
文章作者:Shea
原始链接:https://di1shuai.com/shutdown_platform.html
版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 CN 许可协议。转载请注明出处!