Stream Chatty added as example (#21)
* app updated * readme updated * rename base folder * update chatty's readme Co-authored-by: Neevash Ramdial <[email protected]>
This commit is contained in:
co-authored by
Neevash Ramdial
parent
c86652dcfc
commit
bd6bb66279
@@ -0,0 +1,7 @@
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
class HomeCubit extends Cubit<int> {
|
||||
HomeCubit() : super(0);
|
||||
|
||||
void onChangeTab(int index) => emit(index);
|
||||
}
|
||||
Reference in New Issue
Block a user