From 279a03be5d459747de98b875cb98a0c9f91bd1cf Mon Sep 17 00:00:00 2001 From: IbnuBatutah Date: Sun, 14 Jan 2024 21:31:21 +0700 Subject: [PATCH] Update 14 jan --- lib/components/camera/custom_camera.dart | 2 -- lib/components/form/search_text_field.dart | 1 - lib/components/recipe/recipe_full_item.dart | 1 - .../home/components/recipe_recommendation_widget.dart | 1 - .../recipe_detail/components/step_list_widget.dart | 2 -- .../recipe_detail/view_model/recipe_detail_view_model.dart | 3 --- .../recipe_detection_result/components/recipe_result_list.dart | 1 - 7 files changed, 11 deletions(-) diff --git a/lib/components/camera/custom_camera.dart b/lib/components/camera/custom_camera.dart index f51fd86..2527306 100644 --- a/lib/components/camera/custom_camera.dart +++ b/lib/components/camera/custom_camera.dart @@ -7,13 +7,11 @@ import 'dart:math'; import 'package:camera/camera.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; import 'package:flutter_image_compress/flutter_image_compress.dart'; import 'package:image_picker/image_picker.dart'; import "package:intl/intl.dart"; import 'package:path_provider/path_provider.dart'; import 'package:permission_handler/permission_handler.dart'; -import 'package:photo_gallery/photo_gallery.dart'; class CustomCameraWidget extends StatefulWidget { final int? compressionQuality; diff --git a/lib/components/form/search_text_field.dart b/lib/components/form/search_text_field.dart index f832ed2..a2d368e 100644 --- a/lib/components/form/search_text_field.dart +++ b/lib/components/form/search_text_field.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import '../../styles/form/form_border_side.dart'; -import '../../styles/form/form_input_borders.dart'; import '../../styles/radiuses.dart'; class SearchTextField extends StatelessWidget { diff --git a/lib/components/recipe/recipe_full_item.dart b/lib/components/recipe/recipe_full_item.dart index 7808ebc..a7e79b0 100644 --- a/lib/components/recipe/recipe_full_item.dart +++ b/lib/components/recipe/recipe_full_item.dart @@ -1,6 +1,5 @@ import 'package:flutter/material.dart'; import 'package:snap_and_cook_mobile/components/image/basic_network_image.dart'; -import 'package:snap_and_cook_mobile/data/remote/models/recipe_model.dart'; import 'package:snap_and_cook_mobile/styles/text_styles/tt_commons_text_styles.dart'; import '../../domain/entities/recipe.dart'; diff --git a/lib/presentation/home/components/recipe_recommendation_widget.dart b/lib/presentation/home/components/recipe_recommendation_widget.dart index ed10017..984f885 100644 --- a/lib/presentation/home/components/recipe_recommendation_widget.dart +++ b/lib/presentation/home/components/recipe_recommendation_widget.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import 'package:get/get.dart'; import 'package:snap_and_cook_mobile/components/recipe/recipe_item.dart'; -import 'package:snap_and_cook_mobile/data/remote/models/recipe_model.dart'; import '../../../domain/entities/recipe.dart'; import '../view_model/home_view_model.dart'; diff --git a/lib/presentation/recipe_detail/components/step_list_widget.dart b/lib/presentation/recipe_detail/components/step_list_widget.dart index ed5a447..c218b4c 100644 --- a/lib/presentation/recipe_detail/components/step_list_widget.dart +++ b/lib/presentation/recipe_detail/components/step_list_widget.dart @@ -1,6 +1,4 @@ import 'package:flutter/material.dart'; -import 'package:snap_and_cook_mobile/data/remote/models/ingredient_model.dart'; -import 'package:snap_and_cook_mobile/presentation/recipe_detail/components/ingredients_item.dart'; import 'package:snap_and_cook_mobile/presentation/recipe_detail/components/step_item.dart'; class StepListWidget extends StatelessWidget { diff --git a/lib/presentation/recipe_detail/view_model/recipe_detail_view_model.dart b/lib/presentation/recipe_detail/view_model/recipe_detail_view_model.dart index b13a28f..5f7526a 100644 --- a/lib/presentation/recipe_detail/view_model/recipe_detail_view_model.dart +++ b/lib/presentation/recipe_detail/view_model/recipe_detail_view_model.dart @@ -1,6 +1,3 @@ -import 'package:get/get.dart'; - -import '../../../routes/routes/main_route.dart'; import '../../base/base_view_model.dart'; class RecipeDetailViewModel extends BaseViewModel { diff --git a/lib/presentation/recipe_detection_result/components/recipe_result_list.dart b/lib/presentation/recipe_detection_result/components/recipe_result_list.dart index 6497456..803530a 100644 --- a/lib/presentation/recipe_detection_result/components/recipe_result_list.dart +++ b/lib/presentation/recipe_detection_result/components/recipe_result_list.dart @@ -2,7 +2,6 @@ import 'package:flutter/material.dart'; import 'package:get/get.dart'; import '../../../components/recipe/recipe_full_item.dart'; -import '../../../data/remote/models/recipe_model.dart'; import '../../../domain/entities/recipe.dart'; import '../view_model/recipe_detection_result_view_model.dart';