BlocArchitectureStartupProject
BlocArchitectureStartupProject copied to clipboard
BlocObserver Issues
// @override // void onChange(Cubit cubit, Change change) { // print(change); // super.onChange(cubit, change); // }
// @override // void onClose(Cubit cubit) { // super.onClose(cubit); // }
// @override // void onCreate(Cubit cubit) { // print(cubit); // super.onCreate(cubit); // }
// @override // void onError(Cubit cubit, Object error, StackTrace stackTrace) { // super.onError(cubit, error, stackTrace); // }
These are removed in latest version of Bloc & Flutter Bloc. I think they don't support Cubit but some or none supports Bloc (In above four override methods of BlocObserver Class.