TKK_E32230814/flutter_analysis.txt

166 lines
42 KiB
Plaintext

Analyzing irrigo...
info - Don't invoke 'print' in production code - lib\main.dart:51:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:57:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:64:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:72:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:78:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:125:7 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:128:7 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:134:7 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:139:7 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:146:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:149:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:155:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:160:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:166:9 - avoid_print
info - Don't invoke 'print' in production code - lib\main.dart:173:7 - avoid_print
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\main.dart:233:44 - deprecated_member_use
info - Angle brackets will be interpreted as HTML - lib\models\jadwal_model.dart:38:30 - unintended_html_in_doc_comment
info - 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre - lib\screens\dashboard_page.dart:111:12 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:198:45 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:291:43 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:430:36 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:431:34 - deprecated_member_use
info - Don't invoke 'print' in production code - lib\screens\dashboard_page.dart:467:5 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\dashboard_page.dart:476:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\dashboard_page.dart:479:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\dashboard_page.dart:482:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\dashboard_page.dart:485:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\dashboard_page.dart:489:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\dashboard_page.dart:493:5 - avoid_print
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:500:32 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:501:30 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:546:37 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:555:30 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:606:37 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\dashboard_page.dart:615:37 - deprecated_member_use
warning - The value of the field '_overallStats' isn't used - lib\screens\histori_page.dart:29:29 - unused_field
info - 'dataRowHeight' is deprecated and shouldn't be used. Migrate to use dataRowMinHeight and dataRowMaxHeight instead. This feature was deprecated after v3.7.0-5.0.pre - lib\screens\histori_page.dart:603:17 - deprecated_member_use
info - Unnecessary use of string interpolation - lib\screens\histori_page.dart:621:46 - unnecessary_string_interpolations
info - Unnecessary use of string interpolation - lib\screens\histori_page.dart:625:50 - unnecessary_string_interpolations
info - Unnecessary use of string interpolation - lib\screens\histori_page.dart:665:30 - unnecessary_string_interpolations
info - Unnecessary use of string interpolation - lib\screens\histori_page.dart:670:12 - unnecessary_string_interpolations
warning - The declaration '_buildSampleSummaryCard' isn't referenced - lib\screens\histori_page.dart:831:10 - unused_element
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\histori_page.dart:871:39 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\histori_page.dart:943:34 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\histori_page.dart:990:22 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\histori_page.dart:992:41 - deprecated_member_use
warning - The declaration '_buildTrendChartCard' isn't referenced - lib\screens\histori_page.dart:1005:10 - unused_element
info - Unnecessary braces in a string interpolation - lib\screens\histori_page.dart:1024:36 - unnecessary_brace_in_string_interps
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\histori_page.dart:1164:39 - deprecated_member_use
warning - The declaration '_buildPerPotAnalyticCards' isn't referenced - lib\screens\histori_page.dart:1338:10 - unused_element
info - Don't use 'BuildContext's across async gaps - lib\screens\jadwal_form_page.dart:188:23 - use_build_context_synchronously
info - Don't use 'BuildContext's across async gaps - lib\screens\jadwal_form_page.dart:205:21 - use_build_context_synchronously
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_form_page.dart:362:33 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_form_page.dart:375:47 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_form_page.dart:418:33 - deprecated_member_use
info - Unnecessary braces in a string interpolation - lib\screens\jadwal_form_page.dart:464:28 - unnecessary_brace_in_string_interps
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_form_page.dart:480:33 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_form_page.dart:549:44 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_form_page.dart:587:33 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_form_page.dart:643:33 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_management_page.dart:180:33 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_management_page.dart:193:48 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_management_page.dart:194:37 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_management_page.dart:305:33 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\jadwal_management_page.dart:319:48 - deprecated_member_use
info - 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre - lib\screens\kontrol_page.dart:21:12 - deprecated_member_use
info - Don't invoke 'print' in production code - lib\screens\kontrol_page.dart:153:7 - avoid_print
info - Don't use 'BuildContext's across async gaps - lib\screens\kontrol_page.dart:203:30 - use_build_context_synchronously
info - Don't use 'BuildContext's across async gaps - lib\screens\kontrol_page.dart:210:30 - use_build_context_synchronously
info - Don't use 'BuildContext's across async gaps - lib\screens\kontrol_page.dart:219:28 - use_build_context_synchronously
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\landing_page.dart:56:50 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\landing_page.dart:81:39 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\landing_page.dart:110:40 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\landing_page.dart:120:40 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\landing_page.dart:167:39 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\landing_page.dart:192:40 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\landing_page.dart:202:40 - deprecated_member_use
info - 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre - lib\screens\login_page.dart:100:12 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\login_page.dart:129:43 - deprecated_member_use
info - 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre - lib\screens\pot_selection_page.dart:103:12 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\pot_selection_page.dart:175:48 - deprecated_member_use
info - Don't use 'BuildContext's across async gaps - lib\screens\register_page.dart:61:11 - use_build_context_synchronously
info - 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre - lib\screens\sensor_config_page.dart:94:12 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\sensor_config_page.dart:171:56 - deprecated_member_use
info - Don't use 'BuildContext's across async gaps - lib\screens\sensor_config_page.dart:240:58 - use_build_context_synchronously
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\sensor_config_page.dart:430:39 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\sensor_config_page.dart:473:41 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\threshold_form_page.dart:447:51 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\threshold_management_page.dart:199:33 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\threshold_management_page.dart:212:42 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\threshold_management_page.dart:213:37 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\threshold_management_page.dart:334:56 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\threshold_management_page.dart:335:45 - deprecated_member_use
info - 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre - lib\screens\waktu_config_page.dart:112:12 - deprecated_member_use
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\screens\waktu_config_page.dart:189:56 - deprecated_member_use
info - Don't use 'BuildContext's across async gaps - lib\screens\waktu_config_page.dart:258:58 - use_build_context_synchronously
info - Don't invoke 'print' in production code - lib\screens\waktu_config_page.dart:570:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\waktu_config_page.dart:574:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\waktu_config_page.dart:594:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\waktu_config_page.dart:599:7 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\waktu_config_page.dart:618:9 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\waktu_config_page.dart:620:9 - avoid_print
info - Don't invoke 'print' in production code - lib\screens\waktu_config_page.dart:622:9 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:53:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:85:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:119:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:157:9 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:164:9 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:168:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:170:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:178:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:180:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:182:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:195:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:213:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:226:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:236:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:279:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:308:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:327:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:353:17 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:357:13 - avoid_print
info - Don't invoke 'print' in production code - lib\services\firebase_database_service.dart:362:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:42:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:59:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:71:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:74:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:86:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:89:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:101:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:104:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:128:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:139:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:159:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:166:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:183:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:225:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\jadwal_service.dart:238:7 - avoid_print
info - Unnecessary braces in a string interpolation - lib\services\kontrol_automation_service.dart:172:57 - unnecessary_brace_in_string_interps
info - The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart' - lib\services\notification_service.dart:3:8 - unnecessary_import
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:32:13 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:46:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:60:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:71:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:82:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:108:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:125:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:148:13 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:194:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:215:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:226:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:235:7 - avoid_print
info - Don't invoke 'print' in production code - lib\services\threshold_service.dart:242:7 - avoid_print
info - 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss - lib\widgets\kontrol_widgets.dart:149:41 - deprecated_member_use
flutter : 154 issues found. (ran in 10.6s)
At line:1 char:1
+ flutter analyze > flutter_analysis.txt 2>&1; Get-Content flutter_anal ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (154 issues found. (ran in 10.6s):
String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError