cubit_base 0.0.6
cubit_base: ^0.0.6 copied to clipboard
A lightweight Flutter library to simplify data fetching and pagination using Bloc/Cubit. It provides standardized states and a Fetcher utility to reduce boilerplate.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cubit_baseThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cubit_base: ^0.0.6Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cubit_base/cubit_base.dart';