Search packages, repositories and app categories

GitHub repositoryzuvola/flutter_icmp_ping

flutter_icmp_ping

Flutter plugin that sends ICMP ECHO_REQUEST

flutter_icmp_ping project cover
Stars
5
Forks
15
Last push (UTC)
Sep 1, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

flutter_icmp_ping

Flutter plugin that sends ICMP ECHO_REQUEST.

pub package

Supported platforms

  • Flutter Android
  • Flutter iOS

Getting Started

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');
}
zuvola GitHub avatar
GitHub author

zuvola ↗

LanguagesObjective-CDartSwiftKotlinRubyC

Packages published by this repository

Dependencies used

Dependency list 4 items

  • async^2.11.0
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^2.0.3

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗