Patron bloc integrado

This commit is contained in:
2024-04-29 11:17:27 +02:00
parent 4f7bb569d8
commit dd5be31611
9 changed files with 234 additions and 173 deletions

View File

@ -0,0 +1,12 @@
import 'package:flutter_bloc/flutter_bloc.dart';
// Define el estado
class MyState {
}
// Define el bloc
class MyBloc extends Cubit<MyState> {
MyBloc() : super(MyState());
}