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.
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.
91Compare - angel3_websocket
WebSockets support and event broadcasting for the Angel3 framework.
77Compare
Works with
Packages commonly used together with network_tools_flutter: ones it builds on, ones built on it, and its own family.
- loggingnetwork_tools_flutter depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- universal_ionetwork_tools_flutter depends on itCross-platform dart:io implementation with browser support for HttpClient and other APIs
- multicast_dnsnetwork_tools_flutter depends on itDart package for performing mDNS queries, Bonjour, and Avahi service discovery.
- get_itnetwork_tools_flutter depends on itA fast, type-safe service locator for Dart and Flutter without BuildContext or code generation.
- nsdnetwork_tools_flutter depends on itFlutter plugin for network service discovery and registration (mDNS, Bonjour, DNS-SD).
- dart_pingnetwork_tools_flutter depends on itMulti-platform ICMP ping utility for Dart and Flutter with live statistics.
- flutter_isolatenetwork_tools_flutter depends on itRun Dart isolates in Flutter that can interact with Flutter plugins.
- network_toolsnetwork_tools_flutter depends on itDiscover open ports, devices on a subnet, and perform network scanning.