v0.0.2
check_vpn_connection
一个简单轻量的 Flutter 包,可让您定义设备上的 VPN 连接状态。
39喜欢 4100近 30 天下载160Pub 分数
AndroidiOSmacOSWindowsLinux
一个简单轻量的 Flutter 包,可让您定义设备上的 VPN 连接状态。
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
A simple and lightweight Flutter package that lets you define VPN connection status on your devices.
Note this plugin is in the early stages of development and has been poorly tested. You can use the plugin at your own risk.
You can get a VPN connection status, which is either true (vpn connected) or false (no vpn connection)
if (await CheckVpnConnection.isVpnActive()) {
// do some action if VPN connection status is true
}
Also see our Example.
Please file any issues, bugs or feature request as an issue on our GitHub page.
To contribute, follow the following easy steps