From 0d55cf5d2440d731830e499a34f041c46147133c Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Tue, 25 Aug 2026 18:33:12 +0900 Subject: [PATCH] [network_info_plus] Update network_info_plus to 8.2.1 * Update network_info_plus to 8.2.1. * Update network_info_plus_platform_interface to 3.1.0. * Update minimum Flutter and Dart version to 3.38.1 and 3.10. * Update code format. https://github.com/flutter-tizen/plugins/issues/1104 --- packages/network_info_plus/CHANGELOG.md | 7 +++++ packages/network_info_plus/README.md | 4 +-- .../network_info_plus/example/lib/main.dart | 27 +++++++++---------- .../network_info_plus/example/pubspec.yaml | 6 ++--- packages/network_info_plus/pubspec.yaml | 8 +++--- 5 files changed, 29 insertions(+), 23 deletions(-) diff --git a/packages/network_info_plus/CHANGELOG.md b/packages/network_info_plus/CHANGELOG.md index 637968836..7b1cfc0b3 100644 --- a/packages/network_info_plus/CHANGELOG.md +++ b/packages/network_info_plus/CHANGELOG.md @@ -1,3 +1,10 @@ +## 1.2.0 + +* Update network_info_plus to 8.2.1. +* Update network_info_plus_platform_interface to 3.1.0. +* Update minimum Flutter and Dart version to 3.38.1 and 3.10. +* Update code format. + ## 1.1.8 * Add an `implements` entry to the pubspec to improve discoverability on pub.dev. diff --git a/packages/network_info_plus/README.md b/packages/network_info_plus/README.md index 8a672f4e5..e1b1dd31f 100644 --- a/packages/network_info_plus/README.md +++ b/packages/network_info_plus/README.md @@ -10,8 +10,8 @@ This package is not an _endorsed_ implementation of `network_info_plus`. Therefo ```yaml dependencies: - network_info_plus: ^7.0.0 - network_info_plus_tizen: ^1.1.8 + network_info_plus: ^8.2.1 + network_info_plus_tizen: ^1.2.0 ``` Then you can import `network_info_plus` in your Dart code: diff --git a/packages/network_info_plus/example/lib/main.dart b/packages/network_info_plus/example/lib/main.dart index e27285596..0d5692f11 100644 --- a/packages/network_info_plus/example/lib/main.dart +++ b/packages/network_info_plus/example/lib/main.dart @@ -57,20 +57,18 @@ class _MyHomePageState extends State { elevation: 4, ), body: Center( - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - const Text( - 'Network info', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.bold, + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + const Text( + 'Network info', + style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold), ), - ), - const SizedBox(height: 16), - Text(_connectionStatus), - ], - )), + const SizedBox(height: 16), + Text(_connectionStatus), + ], + ), + ), ); } @@ -133,7 +131,8 @@ class _MyHomePageState extends State { } setState(() { - _connectionStatus = 'Wifi Name: $wifiName\n' + _connectionStatus = + 'Wifi Name: $wifiName\n' 'Wifi BSSID: $wifiBSSID\n' 'Wifi IPv4: $wifiIPv4\n' 'Wifi IPv6: $wifiIPv6\n' diff --git a/packages/network_info_plus/example/pubspec.yaml b/packages/network_info_plus/example/pubspec.yaml index 482dce787..519f3f9c1 100644 --- a/packages/network_info_plus/example/pubspec.yaml +++ b/packages/network_info_plus/example/pubspec.yaml @@ -3,13 +3,13 @@ description: Demonstrates how to use the network_info_plus_tizen plugin. publish_to: "none" environment: - sdk: ^3.6.0 - flutter: ">=3.27.0" + sdk: ^3.10.0 + flutter: ">=3.38.1" dependencies: flutter: sdk: flutter - network_info_plus: ^7.0.0 + network_info_plus: ^8.2.1 network_info_plus_tizen: path: ../ diff --git a/packages/network_info_plus/pubspec.yaml b/packages/network_info_plus/pubspec.yaml index 7ea2f3c19..f45cc87d5 100644 --- a/packages/network_info_plus/pubspec.yaml +++ b/packages/network_info_plus/pubspec.yaml @@ -2,11 +2,11 @@ name: network_info_plus_tizen description: Tizen implementation of the network_info_plus plugin homepage: https://github.com/flutter-tizen/plugins repository: https://github.com/flutter-tizen/plugins/tree/main/packages/network_info_plus -version: 1.1.8 +version: 1.2.0 environment: - sdk: ^3.6.0 - flutter: ">=3.27.0" + sdk: ^3.10.0 + flutter: ">=3.38.1" flutter: plugin: @@ -19,7 +19,7 @@ flutter: dependencies: flutter: sdk: flutter - network_info_plus_platform_interface: ^2.0.0 + network_info_plus_platform_interface: ^3.1.0 dev_dependencies: flutter_lints: ">=2.0.1 <4.0.0"