Patron bloc integrado
This commit is contained in:
12
lib/contenedores_event.dart
Normal file
12
lib/contenedores_event.dart
Normal 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());
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user