feat:login page done
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:food_delivery_client/feature/on_boarding/presentation/blocs/splash_bloc/splash_bloc.dart';
|
||||
|
||||
import '../../../../../food_delivery_client.dart';
|
||||
@@ -13,7 +12,7 @@ class SplashPage extends StatelessWidget {
|
||||
child: BlocListener<SplashBloc, SplashState>(
|
||||
listener: (context, state) {
|
||||
if (state.status.isLoaded()) {
|
||||
context.go(Routes.main);
|
||||
context.go(Routes.login);
|
||||
}
|
||||
},
|
||||
child: Scaffold(
|
||||
|
||||
Reference in New Issue
Block a user