FLUTTER ECOSYSTEM

hearsilent/WiFlutter

像老板一样控制Flutter中的Wi-Fi 🧌

WiFlutter 项目封面
Stars
9
Forks
0
最近推送(UTC)
2023年8月26日
项目状态
未归档
HearSilent GitHub avatar
GITHUB User

HearSilent ↗

½ Android Developer, ½ Open Source enthusiast             Commit code with 💖

@BusPlusTaipei, Taiwan官方网站 ↗
语言KotlinDartRubySwiftObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 4 项
  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_lints开发依赖^2.0.0

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

https://raw.githubusercontent.com/hearsilent/WiFlutter/HEAD/screenshots/wiflutter_logo.webp

pub license


Control Wi-Fi in Flutter like a boss.

https://github.com/hearsilent/WiFlutter/raw/main/screenshots/like_a_boss.webp

Setup

The easiest way to add the WiFlutter library to your project is by adding it as a dependency to your pubspec.yaml

dependencies:
  wiflutter: ^0.0.4

Usage

Connect:

await _wiFlutterPlugin.connect(
  ssid: 'Diablo_III',
  password: 'st0x1_0xf_j0rdan',
  enterpriseCertificate: EnterpriseCertificateEnum.WPA2_PSK,
  withInternet: false,
);

Disconnect:

await _wiFlutterPlugin.disconnect();

Wi-Fi Challenge Rift Guide

Description Android iOS
Connect/Disconnect :white_check_mark: :x:
Fuzzing Connect :x: :x:
Wi-Fi Protected Access :white_check_mark: :x:
Enable/Disable Wi-Fi :x: :x:
Get Wi-Fi status :x: :x:
Get Wi-Fi current SSID :x: :x:
Get Wi-Fi current IP :x: :x:

Compatibility

Android LOLLIPOP 5.0+

License

MIT License

Copyright (c) 2023 HearSilent

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.