Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit bad9fd1

Browse files
[wifi_info_flutter] Edit sample wifi_info_flutter plugin (#3271)
1 parent f8a53a5 commit bad9fd1

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

packages/wifi_info_flutter/wifi_info_flutter/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.3
2+
3+
* Fix README example.
4+
15
## 1.0.2
26

37
* Update Flutter SDK constraint.

packages/wifi_info_flutter/wifi_info_flutter/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ You can get wi-fi related information using:
2424
```dart
2525
import 'package:wifi_info_flutter/wifi_info_flutter.dart';
2626
27-
var wifiBSSID = await WifiFlutter().getWifiBSSID();
28-
var wifiIP = await WifiFlutter().getWifiIP();
29-
var wifiName = await WifiFlutter().getWifiName();
27+
var wifiBSSID = await WifiInfo().getWifiBSSID();
28+
var wifiIP = await WifiInfo().getWifiIP();
29+
var wifiName = await WifiInfo().getWifiName();
3030
```
3131

3232
### iOS 12

packages/wifi_info_flutter/wifi_info_flutter/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wifi_info_flutter
22
description: A new flutter plugin project.
3-
version: 1.0.2
3+
version: 1.0.3
44
homepage: https://github.com/flutter/plugins/tree/master/packages/wifi_info_flutter/wifi_info_flutter
55

66
environment:

0 commit comments

Comments
 (0)