forked from eatvio/eatvio_app
Removed unused imports
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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,
|
||||
) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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: '',
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import 'dart:ui';
|
||||
import 'package:flutter/material.dart';
|
||||
import '../../core/app_export.dart';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user