forked from eatvio/eatvio_app
Added locales and fixed app icon
This commit is contained in:
@@ -47,22 +47,24 @@ class BodyCircumferencesScreen extends StatelessWidget {
|
||||
valueColor: AlwaysStoppedAnimation<Color>(
|
||||
appTheme.blueA400)))),
|
||||
SizedBox(height: 39.v),
|
||||
Text("msg2".tr, style: theme.textTheme.headlineSmall),
|
||||
Text("initial_measurements".tr,
|
||||
style: theme.textTheme.headlineSmall),
|
||||
SizedBox(height: 93.v),
|
||||
_buildTwentySeven(context),
|
||||
SizedBox(height: 19.v),
|
||||
Text("lbl9".tr, style: theme.textTheme.bodyLarge),
|
||||
Text("waist_circumference".tr,
|
||||
style: theme.textTheme.bodyLarge),
|
||||
SizedBox(height: 5.v),
|
||||
BlocSelector<BodyCircumferencesBloc, BodyCircumferencesState,
|
||||
TextEditingController?>(
|
||||
selector: (state) => state.valueController1,
|
||||
builder: (context, valueController1) {
|
||||
return CustomTextFormField(
|
||||
controller: valueController1,
|
||||
hintText: "lbl_60".tr);
|
||||
controller: valueController1, hintText: "60".tr);
|
||||
}),
|
||||
SizedBox(height: 21.v),
|
||||
Text("lbl10".tr, style: theme.textTheme.bodyLarge),
|
||||
Text("hip_circumference".tr,
|
||||
style: theme.textTheme.bodyLarge),
|
||||
SizedBox(height: 3.v),
|
||||
BlocSelector<BodyCircumferencesBloc, BodyCircumferencesState,
|
||||
TextEditingController?>(
|
||||
@@ -70,18 +72,18 @@ class BodyCircumferencesScreen extends StatelessWidget {
|
||||
builder: (context, valueController2) {
|
||||
return CustomTextFormField(
|
||||
controller: valueController2,
|
||||
hintText: "lbl_90".tr,
|
||||
hintText: "90".tr,
|
||||
textInputAction: TextInputAction.done);
|
||||
}),
|
||||
Spacer(),
|
||||
CustomOutlinedButton(
|
||||
text: "lbl2".tr.toUpperCase(),
|
||||
text: "continue".tr.toUpperCase(),
|
||||
buttonStyle: CustomButtonStyles.outlinePrimaryTL15,
|
||||
onPressed: () {
|
||||
navigateToWeight(context);
|
||||
}),
|
||||
SizedBox(height: 17.v),
|
||||
Text("lbl3".tr, style: theme.textTheme.bodyLarge)
|
||||
Text("skip".tr, style: theme.textTheme.bodyLarge)
|
||||
]))));
|
||||
}
|
||||
|
||||
@@ -102,14 +104,14 @@ class BodyCircumferencesScreen extends StatelessWidget {
|
||||
/// Section Widget
|
||||
Widget _buildTwentySeven(BuildContext context) {
|
||||
return Column(children: [
|
||||
Text("lbl8".tr, style: theme.textTheme.bodyLarge),
|
||||
Text("chest_circumference".tr, style: theme.textTheme.bodyLarge),
|
||||
SizedBox(height: 3.v),
|
||||
BlocSelector<BodyCircumferencesBloc, BodyCircumferencesState,
|
||||
TextEditingController?>(
|
||||
selector: (state) => state.valueController,
|
||||
builder: (context, valueController) {
|
||||
return CustomTextFormField(
|
||||
controller: valueController, hintText: "lbl_90".tr);
|
||||
controller: valueController, hintText: "90".tr);
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user