Files
2026-04-23 21:14:46 +02:00

94 lines
30 KiB
Plaintext

Analyzing flutter...
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<String?>' - lib\core\router\app_router.dart:33:31 - undefined_getter
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<String?>' - lib\core\router\app_router.dart:202:57 - undefined_getter
error - The name 'apiClientProvider' is defined in the libraries 'package:recipe_flutter/core/api/api_client.dart' and 'package:recipe_flutter/core/api/api_providers.dart' - lib\features\admin\data\admin_repository.dart:9:36 - ambiguous_import
error - Too many positional arguments: 1 expected, but 2 found - lib\features\admin\data\admin_repository.dart:29:64 - extra_positional_arguments_could_be_named
error - Too many positional arguments: 1 expected, but 2 found - lib\features\admin\data\admin_repository.dart:37:67 - extra_positional_arguments_could_be_named
error - Too many positional arguments: 1 expected, but 2 found - lib\features\admin\data\admin_repository.dart:50:52 - extra_positional_arguments_could_be_named
error - The returned type 'Future<dynamic>' isn't returnable from a 'Future<Map<String, dynamic>>' function, as required by the closure's context - lib\features\admin\data\admin_repository.dart:68:15 - return_of_invalid_type_from_closure
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\admin\presentation\admin_screen.dart:382:17 - deprecated_member_use
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<String?>' - lib\features\auth\data\auth_providers.dart:39:46 - undefined_getter
warning - Unused import: 'package:go_router/go_router.dart' - lib\features\auth\presentation\login_screen.dart:3:8 - unused_import
error - The getter 'platform' isn't defined for the type 'FilePicker' - lib\features\import\presentation\receipt_import_tab.dart:23:37 - undefined_getter
error - The getter 'platform' isn't defined for the type 'FilePicker' - lib\features\import\presentation\recipe_import_tab.dart:45:37 - undefined_getter
error - The function 'StateProvider' isn't defined - lib\features\inventory\data\inventory_providers.dart:17:41 - undefined_function
error - The function 'StateProvider' isn't defined - lib\features\inventory\data\inventory_providers.dart:18:37 - undefined_function
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\inventory\presentation\create_inventory_screen.dart:199:21 - deprecated_member_use
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\inventory\presentation\create_inventory_screen.dart:227:15 - deprecated_member_use
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\inventory\presentation\inventory_edit_screen.dart:178:25 - deprecated_member_use
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\inventory\presentation\inventory_edit_screen.dart:207:19 - deprecated_member_use
warning - Unused import: '../../auth/data/auth_providers.dart' - lib\features\inventory\presentation\inventory_screen.dart:7:8 - unused_import
warning - Unused import: '../domain/inventory_item.dart' - lib\features\inventory\presentation\inventory_screen.dart:9:8 - unused_import
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\inventory\presentation\inventory_screen.dart:63:17 - deprecated_member_use
error - The method 'deleteItem' isn't defined for the type 'InventoryRepository' - lib\features\inventory\presentation\swipeable_inventory_tile.dart:376:59 - undefined_method
error - The function 'StateProvider' isn't defined - lib\features\meal_plan\data\meal_plan_providers.dart:14:36 - undefined_function
error - The argument type 'MapEntry<_, _> Function(String)' can't be assigned to the parameter type 'MapEntry<dynamic, dynamic> Function(String, dynamic)'. - lib\features\meal_plan\data\meal_plan_repository.dart:23:16 - argument_type_not_assignable
error - The returned type 'MealPlanEntry' isn't returnable from a 'MapEntry<_, _>' function, as required by the closure's context - lib\features\meal_plan\data\meal_plan_repository.dart:23:26 - return_of_invalid_type_from_closure
error - The method 'toList' isn't defined for the type 'Map' - lib\features\meal_plan\data\meal_plan_repository.dart:24:12 - undefined_method
error - The argument type 'MapEntry<_, _> Function(String)' can't be assigned to the parameter type 'MapEntry<dynamic, dynamic> Function(String, dynamic)'. - lib\features\meal_plan\data\meal_plan_repository.dart:45:16 - argument_type_not_assignable
error - The returned type 'ShoppingItem' isn't returnable from a 'MapEntry<_, _>' function, as required by the closure's context - lib\features\meal_plan\data\meal_plan_repository.dart:45:26 - return_of_invalid_type_from_closure
error - The method 'toList' isn't defined for the type 'Map' - lib\features\meal_plan\data\meal_plan_repository.dart:46:12 - undefined_method
error - The argument type 'MapEntry<_, _> Function(String)' can't be assigned to the parameter type 'MapEntry<dynamic, dynamic> Function(String, dynamic)'. - lib\features\meal_plan\data\meal_plan_repository.dart:67:16 - argument_type_not_assignable
error - The returned type 'InventoryCompareItem' isn't returnable from a 'MapEntry<_, _>' function, as required by the closure's context - lib\features\meal_plan\data\meal_plan_repository.dart:67:26 - return_of_invalid_type_from_closure
error - The method 'toList' isn't defined for the type 'Map' - lib\features\meal_plan\data\meal_plan_repository.dart:68:12 - undefined_method
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<List<Recipe>>' - lib\features\meal_plan\presentation\meal_plan_screen.dart:90:34 - undefined_getter
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<MealPlanDashboard>' - lib\features\meal_plan\presentation\meal_plan_screen.dart:91:38 - undefined_getter
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\meal_plan\presentation\meal_plan_screen.dart:206:15 - deprecated_member_use
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\meal_plan\presentation\meal_plan_screen.dart:251:23 - deprecated_member_use
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\pantry\presentation\pantry_screen.dart:54:23 - deprecated_member_use
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\pantry\presentation\pantry_screen.dart:75:23 - deprecated_member_use
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<List<PantryItem>>' - lib\features\pantry\presentation\pantry_screen.dart:257:37 - undefined_getter
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<List<PantryProduct>>' - lib\features\pantry\presentation\pantry_screen.dart:258:36 - undefined_getter
error - The name 'apiClientProvider' is defined in the libraries 'package:recipe_flutter/core/api/api_client.dart' and 'package:recipe_flutter/core/api/api_providers.dart' - lib\features\profile\data\profile_repository.dart:10:38 - ambiguous_import
error - Too many positional arguments: 1 expected, but 2 found - lib\features\profile\data\profile_repository.dart:39:51 - extra_positional_arguments_could_be_named
error - The name 'ProfileScreen' is already defined - lib\features\profile\presentation\profile_screen.dart:194:7 - duplicate_definition
warning - The declaration '_ProfileScreenState' isn't referenced - lib\features\profile\presentation\profile_screen.dart:201:7 - unused_element
error - The name '_ProfileScreenState' is already defined - lib\features\profile\presentation\profile_screen.dart:201:7 - duplicate_definition
error - The method 'getProfile' isn't defined for the type 'ProfileRepository' - lib\features\profile\presentation\profile_screen.dart:215:65 - undefined_method
error - The method 'updateProfile' isn't defined for the type 'ProfileRepository' - lib\features\profile\presentation\profile_screen.dart:236:51 - undefined_method
error - The argument type 'MapEntry<_, _> Function(String)' can't be assigned to the parameter type 'MapEntry<dynamic, dynamic> Function(String, dynamic)'. - lib\features\recipes\data\recipe_repository.dart:21:16 - argument_type_not_assignable
error - The returned type 'Recipe' isn't returnable from a 'MapEntry<_, _>' function, as required by the closure's context - lib\features\recipes\data\recipe_repository.dart:21:23 - return_of_invalid_type_from_closure
error - The method 'toList' isn't defined for the type 'Map' - lib\features\recipes\data\recipe_repository.dart:22:12 - undefined_method
warning - Unnecessary type check; the result is always 'false' - lib\features\recipes\data\recipe_repository.dart:34:11 - unnecessary_type_check
warning - Unnecessary type check; the result is always 'false' - lib\features\recipes\data\recipe_repository.dart:104:11 - unnecessary_type_check
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<Recipe>' - lib\features\recipes\presentation\recipe_detail_screen.dart:24:33 - undefined_getter
error - The getter 'valueOrNull' isn't defined for the type 'AsyncValue<Recipe>' - lib\features\recipes\presentation\recipe_detail_screen.dart:25:30 - undefined_getter
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\recipes\presentation\recipe_edit_screen.dart:402:15 - deprecated_member_use
info - 'value' is deprecated and shouldn't be used. Use initialValue instead. This will set the initial value for the form field. This feature was deprecated after v3.33.0-1.0.pre - lib\features\recipes\presentation\recipe_edit_screen.dart:464:21 - deprecated_member_use
error - 'FakeInventoryApiClient.getJson' ('Future<dynamic> Function(String, {String? token})') isn't a valid override of 'ApiClient.getJson' ('Future<Map<String, dynamic>> Function(String, {String? token})') - test\features\inventory\data\inventory_repository_contract_test.dart:13:19 - invalid_override
error - Target of URI doesn't exist: 'profile_repository_test.mocks.dart' - test\features\profile\data\profile_repository_test.dart:15:8 - uri_does_not_exist
error - 'class' can't be used as an identifier because it's a keyword - test\features\profile\data\profile_repository_test.dart:18:1 - expected_identifier_but_got_keyword
error - Expected a statement - test\features\profile\data\profile_repository_test.dart:18:1 - missing_statement
error - Expected to find ';' - test\features\profile\data\profile_repository_test.dart:18:1 - expected_token
error - Undefined name 'class' - test\features\profile\data\profile_repository_test.dart:18:1 - undefined_identifier
error - Expected to find ';' - test\features\profile\data\profile_repository_test.dart:18:7 - expected_token
error - Undefined name 'MockApiClient' - test\features\profile\data\profile_repository_test.dart:18:7 - undefined_identifier
error - 'extends' can't be used as an identifier because it's a keyword - test\features\profile\data\profile_repository_test.dart:18:21 - expected_identifier_but_got_keyword
error - Expected a statement - test\features\profile\data\profile_repository_test.dart:18:21 - missing_statement
error - Expected to find ';' - test\features\profile\data\profile_repository_test.dart:18:21 - expected_token
error - Undefined name 'extends' - test\features\profile\data\profile_repository_test.dart:18:21 - undefined_identifier
warning - The value of the local variable 'implements' isn't used - test\features\profile\data\profile_repository_test.dart:18:34 - unused_local_variable
error - Expected to find ';' - test\features\profile\data\profile_repository_test.dart:18:34 - expected_token
error - Expected to find ';' - test\features\profile\data\profile_repository_test.dart:18:45 - expected_token
warning - The value of the local variable 'profileRepository' isn't used - test\features\profile\data\profile_repository_test.dart:19:28 - unused_local_variable
warning - The declaration 'main' isn't referenced - test\features\profile\data\profile_repository_test.dart:20:6 - unused_element
error - Undefined class 'MockApiClient' - test\features\profile\data\profile_repository_test.dart:23:10 - undefined_class
error - The function 'MockApiClient' isn't defined - test\features\profile\data\profile_repository_test.dart:26:23 - undefined_function
error - The function 'MockRef' isn't defined - test\features\profile\data\profile_repository_test.dart:27:23 - undefined_function
error - The method 'getProfile' isn't defined for the type 'ProfileRepository' - test\features\profile\data\profile_repository_test.dart:36:48 - undefined_method
error - The method 'getProfile' isn't defined for the type 'ProfileRepository' - test\features\profile\data\profile_repository_test.dart:45:40 - undefined_method
error - The method 'updateProfile' isn't defined for the type 'ProfileRepository' - test\features\profile\data\profile_repository_test.dart:56:48 - undefined_method
error - The method 'updateProfile' isn't defined for the type 'ProfileRepository' - test\features\profile\data\profile_repository_test.dart:65:40 - undefined_method
error - Expected to find '}' - test\features\profile\data\profile_repository_test.dart:70:2 - expected_token
error - 'FakeRecipeApiClient.getJson' ('Future<dynamic> Function(String, {String? token})') isn't a valid override of 'ApiClient.getJson' ('Future<Map<String, dynamic>> Function(String, {String? token})') - test\features\recipes\data\recipe_repository_contract_test.dart:13:19 - invalid_override
flutter : 82 issues found. (ran in 12.1s)
At line:1 char:74
+ ... ipe-app\flutter" ; flutter analyze --no-pub > output.txt 2>&1 ; Get-C ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (82 issues found. (ran in 12.1s):S
tring) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError