Closed moreiralucas closed 2 years ago
Start the slidy
slidy start
Choose "flutter_bloc - Cubit" for a state manager.
Then, the code is generated. But, the decrement method contained in the lib/app/modules/home/counter_cubit.dart file contains an error:
lib/app/modules/home/counter_cubit.dart
void decrement() => emit(state 1);
the correct way:
void decrement() => emit(state - 1);
Slidy version: 3.2.0
Start the slidy
Choose "flutter_bloc - Cubit" for a state manager.
Then, the code is generated. But, the decrement method contained in the
lib/app/modules/home/counter_cubit.dart
file contains an error:the correct way:
Slidy version: 3.2.0