Skip to content
pubscout

network_tools_flutter

3.0.9, released 2 weeks ago by op3nsoc13ty.blogspot.com

Extended network tools and scanning features for Flutter supporting iOS and Android.

$ flutter pub add network_tools_flutter
Source repository

What it does

Extends the network_tools package for Flutter to provide local network features such as pinging devices, scanning ports, ARP table lookup, and mDNS discovery. It runs host scans in a single isolate and handles background vendor table building.

AI-written summary of version 3.0.9, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to discover host devices and pingable addresses on a local subnet within a Flutter app.
  • You need to scan ports and query ARP tables on iOS, Android, Windows, macOS, or Linux.

Skip it when

  • You only need high-level REST, GraphQL, or WebSocket communication with remote servers.
  • You are building a sandboxed Mac App Store app where local network ARP access is restricted.

Strengths

  • Supports multi-platform local network discovery including iOS, Android, Windows, macOS, and Linux.
  • Performs heavy host scans in isolated worker threads to prevent UI jank.
  • Provides mDNS search and service-type enumeration features.

Weaknesses

  • Requires specific platform configurations and permissions (such as NSLocalNetworkUsageDescription and Bonjour services on iOS).
  • macOS sandboxing limitations can prevent MAC address lookup through the system ARP table.

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
9

Requires initializing the package with an application support directory path. Android and iOS require specific local network permissions and Bonjour service configuration in Info.plist / AndroidManifest.xml.

await configureNetworkToolsFlutter((await getApplicationSupportDirectory()).path);

await for (final host in HostScannerService.instance.getAllPingableDevices(subnet)) {
  // Handle discovered host
}

Alternatives

Packages that do the same job and could replace network_tools_flutter.

  • http2

    An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.

  • angel3_websocket

    WebSockets support and event broadcasting for the Angel3 framework.

Works with

Packages commonly used together with network_tools_flutter: ones it builds on, ones built on it, and its own family.