Skip to content

Commit 76da627

Browse files
febryardiansyahamantoux
authored andcommitted
[wifi_info_flutter] Edit sample wifi_info_flutter plugin (flutter#3271)
1 parent d52d7c5 commit 76da627

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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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)