connectivity_bloc library
Classes
-
ConnectivityBloc
-
A BLoC (Business Logic Component) responsible for managing connectivity events and states.
It extends the
Bloc
class, with ConnectivityEvent
as the event type and ConnectivityState
as the state type.
-
ConnectivityEvent
-
The base abstract class for different connectivity events.
It is marked as immutable, indicating that its subclasses should also be immutable.
-
ConnectivityFailureState
-
Represents the failure connectivity state.
-
ConnectivityInitialState
-
Represents the initial connectivity state.
-
ConnectivityState
-
The base abstract class for different connectivity states.
It is marked as immutable, indicating that its subclasses should also be immutable.
-
ConnectivitySuccessState
-
Represents the successful connectivity state.
-
OnConnectivityEvent
-
Represents an event when connectivity is established.
-
OnNotConnectivityEvent
-
Represents an event when connectivity is lost.