connectivity_wrapper library

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

All addresses are pinged simultaneously. On successful result (socket connection to address/port succeeds) a true boolean is pushed to a list, on failure (usually on timeout, default 10 sec) a false boolean is pushed to the same list.

Classes

AddressCheckOptions
AddressCheckResult
ConnectivityAppWrapper
ConnectivityAppWrapper is a StatelessWidget.
ConnectivityScreenWrapper
ConnectivityWidgetWrapper
ConnectivityWrapper

Enums

ConnectivityStatus
Connection Status Check Result [...]
PositionOnScreen