Added locales and fixed app icon

This commit is contained in:
2023-12-19 10:23:26 +03:00
parent 5d07fdf91c
commit 341ebb59b4
37 changed files with 155 additions and 116 deletions

View File

@@ -53,7 +53,7 @@ class BloodPressureScreen extends StatelessWidget {
SizedBox(height: 21.v),
SizedBox(
width: 224.h,
child: Text("msg7".tr,
child: Text("your_blood_pressure".tr,
maxLines: 2,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.center,
@@ -61,7 +61,8 @@ class BloodPressureScreen extends StatelessWidget {
SizedBox(height: 77.v),
_buildThirtyThree(context),
SizedBox(height: 22.v),
Text("msg9".tr, style: theme.textTheme.bodyLarge),
Text("do_you_have_hypotension_tendency".tr,
style: theme.textTheme.bodyLarge),
SizedBox(height: 2.v),
Padding(
padding: EdgeInsets.symmetric(horizontal: 4.h),
@@ -75,7 +76,8 @@ class BloodPressureScreen extends StatelessWidget {
textInputAction: TextInputAction.done);
})),
SizedBox(height: 22.v),
Text("msg10".tr, style: theme.textTheme.bodyLarge),
Text("do_you_have_hypertension_tendency".tr,
style: theme.textTheme.bodyLarge),
SizedBox(height: 2.v),
Padding(
padding: EdgeInsets.symmetric(horizontal: 4.h),
@@ -94,7 +96,7 @@ class BloodPressureScreen extends StatelessWidget {
imagePath: ImageConstant.imgFavorite,
height: 12.adaptSize,
width: 12.adaptSize)),
hintText: "lbl14".tr,
hintText: "no".tr,
items:
bloodPressureModelObj?.dropdownItemList ??
[],
@@ -106,14 +108,14 @@ class BloodPressureScreen extends StatelessWidget {
})),
Spacer(),
CustomOutlinedButton(
text: "lbl2".tr.toUpperCase(),
text: "continue".tr.toUpperCase(),
margin: EdgeInsets.symmetric(horizontal: 4.h),
buttonStyle: CustomButtonStyles.outlinePrimaryTL15,
onPressed: () {
navigateToSports(context);
}),
SizedBox(height: 17.v),
Text("lbl3".tr, style: theme.textTheme.bodyLarge)
Text("skip".tr, style: theme.textTheme.bodyLarge)
]))));
}
@@ -137,14 +139,14 @@ class BloodPressureScreen extends StatelessWidget {
margin: EdgeInsets.only(right: 1.h),
padding: EdgeInsets.symmetric(horizontal: 3.h),
child: Column(children: [
Text("msg8".tr, style: theme.textTheme.bodyLarge),
Text("average_pressure".tr, style: theme.textTheme.bodyLarge),
SizedBox(height: 2.v),
BlocSelector<BloodPressureBloc, BloodPressureState,
TextEditingController?>(
selector: (state) => state.valueController,
builder: (context, valueController) {
return CustomTextFormField(
controller: valueController, hintText: "lbl_90".tr);
controller: valueController, hintText: "90".tr);
})
]));
}