From 6db94dc647344c48c6f79afe9262dee967b425e5 Mon Sep 17 00:00:00 2001 From: maxxkim Date: Mon, 25 Dec 2023 17:33:29 +0300 Subject: [PATCH] Removed even more unused imports --- .../blood_pressure_screen.dart | 19 ------------------- .../models/body_circumferences_model.dart | 2 +- .../models/city_of_living_model.dart | 2 +- .../models/date_of_birth_model.dart | 2 +- .../favorite_sports_screen.dart | 17 ----------------- .../gender_screen/gender_screen.dart | 1 - 6 files changed, 3 insertions(+), 40 deletions(-) diff --git a/lib/presentation/blood_pressure_screen/blood_pressure_screen.dart b/lib/presentation/blood_pressure_screen/blood_pressure_screen.dart index 365dd4e0..73bdcab7 100644 --- a/lib/presentation/blood_pressure_screen/blood_pressure_screen.dart +++ b/lib/presentation/blood_pressure_screen/blood_pressure_screen.dart @@ -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 { 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( - selector: (state) => state.valueController, - builder: (context, valueController) { - return CustomTextFormField( - controller: valueController, hintText: "90".tr); - }) - ])); - } - /// Navigates to the previous screen. onTapArrowLeft(BuildContext context) { NavigatorService.goBack(); diff --git a/lib/presentation/body_circumferences_screen/models/body_circumferences_model.dart b/lib/presentation/body_circumferences_screen/models/body_circumferences_model.dart index 880379bd..bc684a03 100644 --- a/lib/presentation/body_circumferences_screen/models/body_circumferences_model.dart +++ b/lib/presentation/body_circumferences_screen/models/body_circumferences_model.dart @@ -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( diff --git a/lib/presentation/city_of_living_screen/models/city_of_living_model.dart b/lib/presentation/city_of_living_screen/models/city_of_living_model.dart index 25c3dec7..1b32e6e0 100644 --- a/lib/presentation/city_of_living_screen/models/city_of_living_model.dart +++ b/lib/presentation/city_of_living_screen/models/city_of_living_model.dart @@ -12,7 +12,7 @@ class CityOfLivingModel extends Equatable { required this.userRegistrationSheet, this.dropdownItemList = const [], this.dropdownItemList1 = const [], - }) {} + }); List dropdownItemList; diff --git a/lib/presentation/date_of_birth_screen/models/date_of_birth_model.dart b/lib/presentation/date_of_birth_screen/models/date_of_birth_model.dart index 17bae696..98700d4c 100644 --- a/lib/presentation/date_of_birth_screen/models/date_of_birth_model.dart +++ b/lib/presentation/date_of_birth_screen/models/date_of_birth_model.dart @@ -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( diff --git a/lib/presentation/favorite_sports_screen/favorite_sports_screen.dart b/lib/presentation/favorite_sports_screen/favorite_sports_screen.dart index 74398e64..eb047457 100644 --- a/lib/presentation/favorite_sports_screen/favorite_sports_screen.dart +++ b/lib/presentation/favorite_sports_screen/favorite_sports_screen.dart @@ -86,23 +86,6 @@ class _FavoriteSportsScreenState extends State { 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: [ diff --git a/lib/presentation/gender_screen/gender_screen.dart b/lib/presentation/gender_screen/gender_screen.dart index b3e909e2..be2c3f42 100644 --- a/lib/presentation/gender_screen/gender_screen.dart +++ b/lib/presentation/gender_screen/gender_screen.dart @@ -30,7 +30,6 @@ class GenderScreen extends StatefulWidget { class _GenderScreenState extends State { @override Widget build(BuildContext context) { - String gender = 'female'; mediaQueryData = MediaQuery.of(context); return BlocBuilder(builder: (context, state) { return SafeArea(