dari gua
This commit is contained in:
parent
80fe215313
commit
783e623619
|
|
@ -20,15 +20,16 @@ class MyAppView extends StatelessWidget {
|
||||||
onPrimary: Colors.white
|
onPrimary: Colors.white
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
home: BlocBuilder<AuthenticationBloc, AuthenticationState>(
|
home: HomeScreen()
|
||||||
builder: ((context, state){
|
// home: BlocBuilder<AuthenticationBloc, AuthenticationState>(
|
||||||
if(state.status == AuthenticationStatus.authenticated){
|
// builder: ((context, state){
|
||||||
return HomeScreen();
|
// if(state.status == AuthenticationStatus.authenticated){
|
||||||
} else {
|
// return HomeScreen();
|
||||||
return WelcomeScreen();
|
// } else {
|
||||||
}
|
// return WelcomeScreen();
|
||||||
}),
|
// }
|
||||||
)
|
// }),
|
||||||
|
// )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue