bottom nav fixed

This commit is contained in:
jayesh
2024-06-13 11:22:54 +05:30
parent f27f40dcf5
commit b14aa9e83d
3 changed files with 9 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import 'bottom_navigation_state.dart';
// Bloc
class BottomNavigationBloc
extends Bloc<BottomNavigationEvent, BottomNavigationState> {
BottomNavigationBloc() : super(TabState(0)) {
BottomNavigationBloc() : super(TabState(1)) {
// Register the event handler
on<TabChanged>((event, emit) {
emit(TabState(event.index));