Removed unused imports

This commit is contained in:
2023-12-25 17:27:45 +03:00
parent aa1ab31a91
commit 24686c8114
12 changed files with 10 additions and 14 deletions

View File

@@ -1,7 +1,5 @@
//ignore: unused_import
import 'dart:convert';
import 'dart:ui';
import 'package:flutter/scheduler.dart';
import 'package:shared_preferences/shared_preferences.dart';
class PrefUtils {

View File

@@ -5,7 +5,7 @@ import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [additional_information_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class AdditionalInformationModel extends Equatable {
AdditionalInformationModel() {}
AdditionalInformationModel();
AdditionalInformationModel copyWith() {
return AdditionalInformationModel();

View File

@@ -5,7 +5,7 @@ import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [allergies_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class AllergiesModel extends Equatable {
AllergiesModel() {}
AllergiesModel();
AllergiesModel copyWith() {
return AllergiesModel();

View File

@@ -5,7 +5,7 @@ import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [app_navigation_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class AppNavigationModel extends Equatable {
AppNavigationModel() {}
AppNavigationModel();
AppNavigationModel copyWith() {
return AppNavigationModel();

View File

@@ -9,7 +9,7 @@ part 'gender_state.dart';
class GenderBloc extends Bloc<GenderEvent, GenderState> {
GenderBloc(GenderState initialState) : super(initialState) {
on<GenderInitialEvent>(_onInitialize);
on<GenderSelectEvent>(_GenderSelect);
on<GenderSelectEvent>(_genderSelect);
}
_onInitialize(
@@ -19,7 +19,7 @@ class GenderBloc extends Bloc<GenderEvent, GenderState> {
emit(state.copyWith(genderModelObj: state.genderModelObj));
}
_GenderSelect(
_genderSelect(
GenderSelectEvent event,
Emitter<GenderState> emit,
) {

View File

@@ -6,7 +6,7 @@ import 'package:eatvio_app/data/models/selectionPopupModel/selection_popup_model
/// This class defines the variables used in the [height_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class HeightModel extends Equatable {
HeightModel({this.dropdownItemList = const []}) {}
HeightModel({this.dropdownItemList = const []});
List<SelectionPopupModel> dropdownItemList;

View File

@@ -1,5 +1,4 @@
import 'package:eatvio_app/data/models/userRegistrationModel/user_registration_model.dart';
import 'package:eatvio_app/presentation/credentials_screen/credentials_screen.dart';
import 'bloc/language_select_bloc.dart';
import 'models/language_select_model.dart';

View File

@@ -7,7 +7,7 @@ import 'package:eatvio_app/data/models/selectionPopupModel/selection_popup_model
/// This class defines the variables used in the [language_select_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class LanguageSelectModel extends Equatable {
LanguageSelectModel({this.dropdownItemList = const []}) {}
LanguageSelectModel({this.dropdownItemList = const []});
UserRegistrationSheet userRegistrationSheet = UserRegistrationSheet(
firstName: '',
lastName: '',

View File

@@ -5,7 +5,7 @@ import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [medicine_intake_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class MedicineIntakeModel extends Equatable {
MedicineIntakeModel() {}
MedicineIntakeModel();
MedicineIntakeModel copyWith() {
return MedicineIntakeModel();

View File

@@ -5,7 +5,7 @@ import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [splash_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class SplashModel extends Equatable {
SplashModel() {}
SplashModel();
SplashModel copyWith() {
return SplashModel();

View File

@@ -6,7 +6,7 @@ import 'package:eatvio_app/data/models/selectionPopupModel/selection_popup_model
/// This class defines the variables used in the [weight_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class WeightModel extends Equatable {
WeightModel({this.dropdownItemList = const []}) {}
WeightModel({this.dropdownItemList = const []});
List<SelectionPopupModel> dropdownItemList;

View File

@@ -1,4 +1,3 @@
import 'dart:ui';
import 'package:flutter/material.dart';
import '../../core/app_export.dart';