forked from eatvio/eatvio_app
Removed even more unused imports
This commit is contained in:
@@ -6,7 +6,6 @@ import 'package:eatvio_app/widgets/app_bar/appbar_title_image.dart';
|
||||
import 'package:eatvio_app/widgets/app_bar/custom_app_bar.dart';
|
||||
import 'package:eatvio_app/widgets/custom_drop_down.dart';
|
||||
import 'package:eatvio_app/widgets/next_step_button.dart';
|
||||
import 'package:eatvio_app/data/models/userRegistrationModel/user_registration_model.dart';
|
||||
import 'package:eatvio_app/widgets/custom_text_form_field.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -187,24 +186,6 @@ class _BloodPressureScreenState extends State<BloodPressureScreen> {
|
||||
title: AppbarTitleImage(imagePath: ImageConstant.imgLogoEatvio));
|
||||
}
|
||||
|
||||
/// Section Widget
|
||||
Widget _buildThirtyThree(BuildContext context) {
|
||||
return Container(
|
||||
margin: EdgeInsets.only(right: 1.h),
|
||||
padding: EdgeInsets.symmetric(horizontal: 3.h),
|
||||
child: Column(children: [
|
||||
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: "90".tr);
|
||||
})
|
||||
]));
|
||||
}
|
||||
|
||||
/// Navigates to the previous screen.
|
||||
onTapArrowLeft(BuildContext context) {
|
||||
NavigatorService.goBack();
|
||||
|
||||
@@ -7,7 +7,7 @@ import 'package:eatvio_app/data/models/userRegistrationModel/user_registration_m
|
||||
/// and is typically used to hold data that is passed between different parts of the application.
|
||||
class BodyCircumferencesModel extends Equatable {
|
||||
UserRegistrationSheet userRegistrationSheet;
|
||||
BodyCircumferencesModel({required this.userRegistrationSheet}) {}
|
||||
BodyCircumferencesModel({required this.userRegistrationSheet});
|
||||
|
||||
BodyCircumferencesModel copyWith() {
|
||||
return BodyCircumferencesModel(
|
||||
|
||||
@@ -12,7 +12,7 @@ class CityOfLivingModel extends Equatable {
|
||||
required this.userRegistrationSheet,
|
||||
this.dropdownItemList = const [],
|
||||
this.dropdownItemList1 = const [],
|
||||
}) {}
|
||||
});
|
||||
|
||||
List<SelectionPopupModel> dropdownItemList;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import 'package:eatvio_app/data/models/userRegistrationModel/user_registration_m
|
||||
class DateOfBirthModel extends Equatable {
|
||||
UserRegistrationSheet userRegistrationSheet;
|
||||
|
||||
DateOfBirthModel({required this.userRegistrationSheet}) {}
|
||||
DateOfBirthModel({required this.userRegistrationSheet});
|
||||
|
||||
DateOfBirthModel copyWith() {
|
||||
return DateOfBirthModel(
|
||||
|
||||
@@ -86,23 +86,6 @@ class _FavoriteSportsScreenState extends State<FavoriteSportsScreen> {
|
||||
title: AppbarTitleImage(imagePath: ImageConstant.imgLogoEatvio));
|
||||
}
|
||||
|
||||
/// Section Widget
|
||||
Widget _buildProgressIndicatorSection(BuildContext context) {
|
||||
return Container(
|
||||
width: 343.h,
|
||||
padding: EdgeInsets.symmetric(horizontal: 4.h, vertical: 3.v),
|
||||
decoration: AppDecoration.outlinePrimary
|
||||
.copyWith(borderRadius: BorderRadiusStyle.circleBorder8),
|
||||
child: Container(
|
||||
height: 8.v,
|
||||
width: 259.h,
|
||||
decoration: BoxDecoration(
|
||||
color: appTheme.blueA400,
|
||||
borderRadius: BorderRadius.circular(4.h),
|
||||
border:
|
||||
Border.all(color: theme.colorScheme.primary, width: 1.h))));
|
||||
}
|
||||
|
||||
/// Section Widget
|
||||
Widget _buildTextFormFieldSection(BuildContext context) {
|
||||
return Column(children: [
|
||||
|
||||
@@ -30,7 +30,6 @@ class GenderScreen extends StatefulWidget {
|
||||
class _GenderScreenState extends State<GenderScreen> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
String gender = 'female';
|
||||
mediaQueryData = MediaQuery.of(context);
|
||||
return BlocBuilder<GenderBloc, GenderState>(builder: (context, state) {
|
||||
return SafeArea(
|
||||
|
||||
Reference in New Issue
Block a user