test(registration): All tests passed! SMOKE TESTING FINISHED

This commit is contained in:
2024-03-13 12:51:50 +03:00
parent 37a5fdf51c
commit 4b4e0dd814
6 changed files with 216 additions and 58 deletions

View File

@@ -36,7 +36,7 @@ class _WeightScreenState extends State<WeightScreen> {
body: Container(
width: double.maxFinite,
padding: EdgeInsets.symmetric(horizontal: 16.h, vertical: 9.v),
child: Column(children: [
child: ListView(children: [
SizedBox(height: 7.v),
Container(
height: 16.v,
@@ -81,7 +81,6 @@ class _WeightScreenState extends State<WeightScreen> {
})
])
]),
Spacer(),
BlocBuilder<WeightBloc, WeightState>(
builder: (context, state) {
return NextStepButton(
@@ -111,20 +110,15 @@ class _WeightScreenState extends State<WeightScreen> {
NavigatorService.goBack();
}
onTapNext(BuildContext context, state) {
UserRegistrationSheet sheet = state.weightModelObj!.userRegistrationSheet;
Navigator.pushNamed(
context,
AppRoutes.heightScreen,
arguments: sheet,
);
}
/// Navigates to the allergiesScreen when the action is triggered.
navigateToHeight(BuildContext context) {
NavigatorService.pushNamed(
AppRoutes.heightScreen,
);
onTapNext(BuildContext context, WeightState state) {
return () {
UserRegistrationSheet sheet = state.weightModelObj!.userRegistrationSheet;
Navigator.pushNamed(
context,
AppRoutes.heightScreen,
arguments: sheet,
);
};
}
void _onDropDownChanged(value) {