v3.1.3
flutter_icmp_ping
Flutter plugin that sends ICMP ECHO_REQUEST to network hosts.
15Likes 43.2K30-day downloads150Pub points
AndroidiOS
Flutter plugin that sends ICMP ECHO_REQUEST
English project snapshot. Visit GitHub for the latest content.
Flutter plugin that sends ICMP ECHO_REQUEST.
To use this plugin, add flutter_icmp_ping as a dependency in your pubspec.yaml file.
dependencies:
flutter_icmp_ping:
Import the library in your file.
import 'package:flutter_icmp_ping/flutter_icmp_ping.dart';
See the example directory for a complete sample app using Ping.
Or use the Ping like below.
try {
final ping = Ping(
'google.com',
count: 3,
timeout: 1,
interval: 1,
ipv6: false,
ttl: 40,
);
ping.stream.listen((event) {
print(event);
});
} catch (e) {
print('error $e');
}
Dependency list 4 items
^2.11.0{"sdk":"flutter"}{"sdk":"flutter"}^2.0.3Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗