https://github.com/ajinasokan/wifi_access
A Flutter plugin to get WiFi related functions.
https://github.com/ajinasokan/wifi_access
Last synced: 4 months ago
JSON representation
A Flutter plugin to get WiFi related functions.
- Host: GitHub
- URL: https://github.com/ajinasokan/wifi_access
- Owner: ajinasokan
- License: mit
- Created: 2019-04-07T14:10:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-07T15:19:41.000Z (about 6 years ago)
- Last Synced: 2025-01-10T16:26:15.959Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 55.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# wifi_access
A Flutter plugin to get WiFi related functions. This project uses snippets from [wifi_ip](https://github.com/luanvotrongdev/wifi_ip) project but targeting only android and adds gateway IP to the result.
## Getting Started
You will need the following permission in android:
```xml
```
You can access WiFi information in your Flutter project like this:
```dart
import 'package:wifi_access/wifi_access.dart';DHCP dhcp = await WifiAccess.dhcp;
print(dhcp.ip);
print(dhcp.gateway);
```