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.