Skip to content
/ cubit Public
forked from felangel/cubit

Cubit is a lightweight state management solution. It is a subset of the bloc package that does not rely on events and instead uses methods to emit new states.

License

Notifications You must be signed in to change notification settings

abhi9044/cubit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Attention: This repository has been moved to https://github.com/felangel/bloc and is now read-only!

Cubit

build coverage Star on GitHub Discord License: MIT Starware

Cubit is a lightweight state management solution. It is a subset of the bloc package that does not rely on events and instead uses methods to emit new states.

Usage

class CounterCubit extends Cubit<int> {
  CounterCubit() : super(0);

  void increment() => emit(state + 1);
  void decrement() => emit(state - 1);
}

Packages

Package Pub
cubit pub package
cubit_test pub package
flutter_cubit pub package
angular_cubit pub package
hydrated_cubit pub package
replay_cubit pub package

Documentation

Dart Versions

  • Dart 2: >= 2.7.0

Maintainers

Supporters

Very Good Ventures

Starware

Cubit is Starware.
This means you're free to use the project, as long as you star its GitHub repository.
Your appreciation makes us grow and glow up. ⭐

About

Cubit is a lightweight state management solution. It is a subset of the bloc package that does not rely on events and instead uses methods to emit new states.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 96.2%
  • Ruby 3.3%
  • Other 0.5%