woocommerce_inventory/mobile_app/analysis.txt

25 lines
2.8 KiB
Plaintext

Analyzing mobile_app...
warning - Unused import: 'package:shared_preferences/shared_preferences.dart' - lib\api_service.dart:4:8 - unused_import
warning - Unused import: 'screens/product_list_screen.dart' - lib\main.dart:8:8 - unused_import
info - 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre - lib\main.dart:34:13 - deprecated_member_use
warning - The declaration 'initState' isn't referenced - lib\screens\product_editor_screen.dart:39:8 - unused_element
error - Undefined name '_manageStock' - lib\screens\product_editor_screen.dart:56:7 - undefined_identifier
error - Undefined name '_manageStock' - lib\screens\product_editor_screen.dart:87:23 - undefined_identifier
warning - Two keys in a map literal shouldn't be equal - lib\screens\product_editor_screen.dart:90:7 - equal_keys_in_map
info - Don't use 'BuildContext's across async gaps - lib\screens\product_editor_screen.dart:156:49 - use_build_context_synchronously
info - Don't use 'BuildContext's across async gaps - lib\screens\product_editor_screen.dart:166:34 - use_build_context_synchronously
error - Undefined name '_manageStock' - lib\screens\product_editor_screen.dart:247:36 - undefined_identifier
error - Undefined name '_manageStock' - lib\screens\product_editor_screen.dart:248:62 - undefined_identifier
error - Undefined name '_manageStock' - lib\screens\product_editor_screen.dart:250:29 - undefined_identifier
info - The private field _products could be 'final' - lib\screens\product_list_screen.dart:16:17 - prefer_final_fields
info - Don't use 'BuildContext's across async gaps - lib\screens\product_list_screen.dart:68:28 - use_build_context_synchronously
info - Don't use 'BuildContext's across async gaps - lib\screens\product_list_screen.dart:100:39 - use_build_context_synchronously
info - Don't use 'BuildContext's across async gaps - lib\screens\product_list_screen.dart:104:30 - use_build_context_synchronously
info - Don't use 'BuildContext's across async gaps - lib\screens\product_list_screen.dart:108:30 - use_build_context_synchronously
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\product_list_screen.dart:218:68 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\product_list_screen.dart:219:66 - deprecated_member_use
warning - The value of the local variable 'profile' isn't used - lib\screens\profile_login_screen.dart:22:11 - unused_local_variable
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\site_selection_screen.dart:53:48 - deprecated_member_use