network_type_detector 2.0.0 copy "network_type_detector: ^2.0.0" to clipboard
network_type_detector: ^2.0.0 copied to clipboard

This package allows your Flutter app to detect the current network type, supporting 2G, 3G, 4G, 5G, and Wi-Fi.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add network_type_detector

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  network_type_detector: ^2.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:network_type_detector/network_type_detector.dart';
3
likes
160
points
187
downloads

Documentation

API reference

Publisher

verified publishertatsuyuki25.com

Weekly Downloads

This package allows your Flutter app to detect the current network type, supporting 2G, 3G, 4G, 5G, and Wi-Fi.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on network_type_detector

Packages that implement network_type_detector