single_value_cubit library

Classes

GenericTextCubitBinder<T>
A widget that binds a SingleValueCubit<T> to a TextEditingController for state types that contain a text component alongside other data.
IntValueCubit
Single value cubit designed to work with integer counters and quantities
SingleValueCubit<T>
Single value cubit - just a simple cubit with set method wich changes the current state. Helpful with simple input, scroll, bool and many other scenarios
StringInputCubit
Single value cubit designed to work with text inputs
TextCubitBinder
A widget that binds a SingleValueCubit<String> to a TextEditingController. Two way binding

Extensions

BlocExtensions on BlocBase<T>
Bloc extensions
SingleValueBoolCubitExtension on SingleValueCubit<bool>
let you quickly change bool single value cubits
SingleValueIntCubitExtension on SingleValueCubit<int>
let you quickly change int single value cubits
SingleValueStringCubitExtension on SingleValueCubit<String>
let you quickly change String single value cubits