the plugin for go-flutter
to shutdown platform windows
ใlinux
ใmac
only
a simple usage example:
import 'package:shutdown_platform/shutdown_platform.dart';
String out = await ShutdownPlatform.shutdownNow;
go-flutter plugin to shutdown platform windows/mac/linux
Home Page: https://pub.dev/packages/shutdown_platform#-readme-tab-
License: BSD 3-Clause "New" or "Revised" License
At the moment it allows the user to initiate an OS shutdown on Desktop.
In Flutter, we need to detect if the OS is shutting down so we can make sure the user has a chance to save their work if they are in a form.
Changes
comment out the replace at the bottom
update the version to v0.1.0
this now works:
module shutdown_platform_example/go
go 1.14
require (
github.com/BestBurning/shutdown_platform/go v0.1.0
github.com/go-flutter-desktop/go-flutter v0.38.0
github.com/pkg/errors v0.9.1
)
//replace github.com/BestBurning/shutdown_platform/go => /Users/shuai/Documents/GitRepo/mine/shutdown_platform/go
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.