Search packages, repositories and app categories

Package detailsv0.3.5-nullsafety

data_connection_checker_tv

A pure Dart library that checks for internet by opening a socket to a list of specified addresses, each with individual port and timeout. Defaults are provided for convenience.

AndroidiOSmacOSWindowsLinux
30-day downloads
684
Likes
36
Pub points
120

Install package

flutter pub add data_connection_checker_tv

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A pure Dart library designed to check internet connectivity by attempting to open sockets to a configurable list of addresses, each with custom ports and timeouts. It provides default settings for quick setup while allowing fine-grained control over connection tests. Ideal for apps needing reliable network status detection across multiple platforms.

Use cases

  • Real-time app connectivity monitoring
  • Offline mode detection
  • Background network health checks
  • App startup network validation
  • Network-dependent feature activation

Key features

  • Socket-based connectivity testing
  • Configurable target addresses and ports
  • Customizable timeout settings
  • Cross-platform support
  • Default configuration for rapid integration

Suitable for

  • Apps requiring precise network status
  • Developers building offline-capable applications
  • Projects targeting multiple operating systems
  • Network-sensitive background services
  • Applications with dynamic connectivity requirements

Considerations

  • Requires network permissions on mobile platforms
  • May trigger false negatives on unstable networks
  • Does not detect proxy or firewall interference
  • Limited to socket-level checks, not full HTTP reachability
  • Depends on external servers being reachable

Categories

Projects using this package