connection library
Classes
- ConnectionBloc
- A BLoC that exposes the Internet connection state to the UI.
- ConnectionBuilder
- ConnectionBuilder is responsible for building the UI based on the Connection state.
- ConnectionListener
- ConnectionListener is responsible for performing a one-time action based on the Connection state change.
- ConnectionRepository
- ConnectionRepository exposes a Stream of Connection state changes.
Enums
- Connection
- The Internet connection state. The device can be either online or offline.
Typedefs
- ConnectionCallback = void Function(BuildContext context)
- Callback function for Connection state changes.