63 lines
8.1 KiB
Plaintext
63 lines
8.1 KiB
Plaintext
Analyzing saba-dart...
|
|
|
|
info • The import of 'dart:ui' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/chat_screen.dart:3:8 • unnecessary_import
|
|
info • Don't invoke 'print' in production code • lib/screens/compose_screen.dart:62:7 • avoid_print
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/compose_screen.dart:129:7 • use_build_context_synchronously
|
|
info • Use interpolation to compose strings and values • lib/screens/compose_screen.dart:255:20 • prefer_interpolation_to_compose_strings
|
|
info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • lib/screens/compose_screen.dart:415:63 • deprecated_member_use
|
|
info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • lib/screens/compose_screen.dart:582:22 • deprecated_member_use
|
|
info • Statements in an if should be enclosed in a block • lib/screens/compose_screen.dart:639:7 • curly_braces_in_flow_control_structures
|
|
info • Statements in an if should be enclosed in a block • lib/screens/compose_screen.dart:689:11 • curly_braces_in_flow_control_structures
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/compose_screen.dart:695:15 • use_build_context_synchronously
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/compose_screen.dart:700:29 • use_build_context_synchronously
|
|
info • The import of 'dart:ui' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/screens/group_chat_screen.dart:2:8 • unnecessary_import
|
|
info • Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check • lib/screens/group_chat_screen.dart:226:29 • use_build_context_synchronously
|
|
info • Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check • lib/screens/group_chat_screen.dart:410:29 • use_build_context_synchronously
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/group_chat_screen.dart:530:28 • use_build_context_synchronously
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/group_chat_screen.dart:897:15 • use_build_context_synchronously
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/group_chat_screen.dart:902:29 • use_build_context_synchronously
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/home_screen.dart:185:11 • use_build_context_synchronously
|
|
info • Don't invoke 'print' in production code • lib/screens/home_screen.dart:244:7 • avoid_print
|
|
info • Don't use 'BuildContext's across async gaps • lib/screens/home_screen.dart:300:28 • use_build_context_synchronously
|
|
info • Use 'const' with the constructor to improve performance • lib/screens/settings_screen.dart:109:21 • prefer_const_constructors
|
|
info • Use 'const' literals as arguments to constructors of '@immutable' classes • lib/screens/settings_screen.dart:110:33 • prefer_const_literals_to_create_immutables
|
|
info • Use 'const' with the constructor to improve performance • lib/screens/settings_screen.dart:161:21 • prefer_const_constructors
|
|
info • Use 'const' literals as arguments to constructors of '@immutable' classes • lib/screens/settings_screen.dart:162:33 • prefer_const_literals_to_create_immutables
|
|
info • Use 'const' with the constructor to improve performance • lib/screens/settings_screen.dart:212:21 • prefer_const_constructors
|
|
info • Use 'const' literals as arguments to constructors of '@immutable' classes • lib/screens/settings_screen.dart:213:33 • prefer_const_literals_to_create_immutables
|
|
info • 'activeColor' is deprecated and shouldn't be used. Use activeThumbColor instead. This feature was deprecated after v3.31.0-2.0.pre • lib/screens/settings_screen.dart:241:27 • deprecated_member_use
|
|
info • 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion • lib/screens/settings_screen.dart:286:49 • deprecated_member_use
|
|
info • 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion • lib/screens/settings_screen.dart:286:64 • deprecated_member_use
|
|
info • 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion • lib/screens/settings_screen.dart:291:57 • deprecated_member_use
|
|
info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • lib/screens/settings_screen.dart:312:30 • deprecated_member_use
|
|
info • The private field _memoryCache could be 'final' • lib/utils/contact_helper.dart:5:30 • prefer_final_fields
|
|
info • Don't invoke 'print' in production code • lib/utils/contact_helper.dart:19:7 • avoid_print
|
|
info • Don't invoke 'print' in production code • lib/utils/crypto_helper.dart:29:7 • avoid_print
|
|
warning • Unused import: '../utils/app_theme.dart' • lib/widgets/message_bubble.dart:4:8 • unused_import
|
|
info • Use 'const' with the constructor to improve performance • lib/widgets/message_bubble.dart:141:29 • prefer_const_constructors
|
|
info • Use 'const' literals as arguments to constructors of '@immutable' classes • lib/widgets/message_bubble.dart:142:39 • prefer_const_literals_to_create_immutables
|
|
info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • lib/widgets/message_bubble.dart:235:49 • deprecated_member_use
|
|
info • Use 'const' for final variables initialized to a constant value • lib/widgets/message_bubble.dart:375:5 • prefer_const_declarations
|
|
info • Can't use a relative path to import a library in 'lib' • test/background_logic_test.dart:2:8 • avoid_relative_lib_imports
|
|
info • Don't invoke 'print' in production code • test/background_logic_test.dart:15:5 • avoid_print
|
|
info • Don't invoke 'print' in production code • test/background_logic_test.dart:20:3 • avoid_print
|
|
info • Use 'const' for final variables initialized to a constant value • test/background_logic_test.dart:23:3 • prefer_const_declarations
|
|
info • Don't invoke 'print' in production code • test/background_logic_test.dart:26:3 • avoid_print
|
|
info • Use 'const' for final variables initialized to a constant value • test/background_logic_test.dart:27:3 • prefer_const_declarations
|
|
info • Don't invoke 'print' in production code • test/background_logic_test.dart:31:3 • avoid_print
|
|
info • Don't invoke 'print' in production code • test/background_logic_test.dart:34:3 • avoid_print
|
|
info • Use 'const' for final variables initialized to a constant value • test/background_logic_test.dart:35:3 • prefer_const_declarations
|
|
info • Don't invoke 'print' in production code • test/background_logic_test.dart:48:3 • avoid_print
|
|
info • Don't invoke 'print' in production code • test/background_logic_test.dart:50:3 • avoid_print
|
|
info • Can't use a relative path to import a library in 'lib' • test/protocol_test.dart:1:8 • avoid_relative_lib_imports
|
|
info • Don't invoke 'print' in production code • test/protocol_test.dart:5:5 • avoid_print
|
|
info • Don't invoke 'print' in production code • test/protocol_test.dart:7:5 • avoid_print
|
|
info • Don't invoke 'print' in production code • test/protocol_test.dart:13:3 • avoid_print
|
|
info • Don't invoke 'print' in production code • test/protocol_test.dart:79:3 • avoid_print
|
|
error • Invalid constant value • test/widget_test.dart:16:21 • invalid_constant
|
|
error • Undefined name 'MessageStatus' • test/widget_test.dart:16:21 • undefined_identifier
|
|
error • Invalid constant value • test/widget_test.dart:37:21 • invalid_constant
|
|
error • Undefined name 'MessageStatus' • test/widget_test.dart:37:21 • undefined_identifier
|
|
|
|
58 issues found. (ran in 6.1s)
|