flutter_connectivity_manager library
A comprehensive Flutter connectivity manager package to check internet connection and network type.
Classes
- ConnectionWaitOptions
- Wait options for connection waiting
- ConnectivityConfig
- Configuration class for the connectivity manager
- ConnectivityManagerFactory
- Factory for creating connectivity manager instances
- ConnectivityManagerImpl
- Comprehensive implementation of the connectivity manager
- ConnectivityState
- Represents the current connectivity state of the device
- ConnectivityTestOptions
- Options for connectivity testing
- ConnectivityUtils
- Utility class for connectivity operations
- IConnectivityManager
- Interface for comprehensive connectivity management
Enums
- ConnectionSpeed
- Represents the estimated connection speed/quality
Extensions
-
ConnectivityResultExtensions
on List<
ConnectivityResult> -
Extensions for the
ConnectivityResult
class - ConnectivityResultSingleExtensions on ConnectivityResult
-
Extensions for the
ConnectivityResult
class
Typedefs
- ConnectionSpeedCallback = void Function(ConnectionSpeed speed)
- Callback for connection speed changes
- ConnectivityErrorCallback = void Function(Object error, StackTrace stackTrace)
- Callback for connectivity errors
- ConnectivityStateCallback = void Function(ConnectivityState state)
- Callback for connectivity state changes
- InternetAvailabilityCallback = void Function(bool hasInternet)
- Callback for internet availability changes
-
NetworkTypeCallback
= void Function(List<
ConnectivityResult> types) - Callback for network type changes