extensions/cubit_extension library
Lightweight Cubit-style base class for network-aware state management.
This does NOT depend on the flutter_bloc package. It provides a minimal
Cubit-like API (emit, state, stream) built on plain Dart streams,
so developers who prefer the Cubit pattern can use it without pulling in
the full Bloc dependency.
If you already use flutter_bloc, see bloc_extension.dart instead.
Classes
- NetworkCubit
- A lightweight Cubit-like base class that manages NetworkState and integrates with NetworkManager.