Open
Description
Running dart fix --dry-run
returns the following information, which, on its own, isn't helpful in identifying actual problems I might want to address/correct. Adding a verbose
option to include the associated information found running dart analyze
would be more helpful.
dart fix
$ dart fix --dry-run
Computing fixes in my_app (dry run)... 3.1s
4 proposed fixes in 3 files.
lib/blocs/trial_recorder/bloc.dart
unused_catch_stack • 1 fix
lib/views/lab/configuration_view.dart
annotate_overrides • 1 fix
sized_box_for_whitespace • 1 fix
lib/views/trial/playback_controls.dart
unused_import • 1 fix
dart analyze
$ dart analyze
Analyzing physics_workbench... 1.8s
warning • lib/blocs/trial_recorder/bloc.dart:28:17 • The stack trace variable 's' isn't used and can be removed. Try removing the stack trace variable, or using it. • unused_catch_stack
warning • lib/views/trial/playback_controls.dart:6:8 • Unused import: 'common.dart'. Try removing the import directive. • unused_import
info • lib/views/lab/configuration_view.dart:10:10 • The member 'build' overrides an inherited member but isn't annotated with '@override'. Try adding the '@override' annotation. • annotate_overrides
info • lib/views/lab/configuration_view.dart:15:9 • Use a 'SizedBox' to add whitespace to a layout. Try using a 'SizedBox' rather than a 'Container'. • sized_box_for_whitespace
4 issues found.
General info
- Dart 3.5.4 (stable) (Wed Oct 16 16:18:51 2024 +0000) on "linux_x64"
- on linux / Linux 5.15.0-122-generic Create new library behavior is not discoverable in editor #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024
- locale is en_US.UTF-8
Project info
- sdk constraint: '^3.5.3'
- dependencies: camera, camera_android_camerax, cupertino_icons, equatable, flutter, flutter_bloc, logger, sensors_plus, video_player
- dev_dependencies: flutter_lints, flutter_test
Process info
Memory | CPU | Elapsed time | Command line |
---|---|---|---|
63 MB | 0.0% | 06:45 | dart devtools --machine --dtd-uri=ws:/cHfX8RemmD77FPbt |
64 MB | 0.0% | 1-12:03:39 | dart devtools --machine --dtd-uri=ws:/dVIDFBz6XYb6xGfB |
21 MB | 0.0% | 21-01:16:57 | dart devtools --machine --dtd-uri=ws:/uE8BvAql3YYrbpgR |
654 MB | 1.2% | 1-12:03:43 | dart language-server --client-id=Android-Studio --client-version=AI-242.21829.142 --protocol=analyzer |
520 MB | 6.0% | 01:48 | dart language-server --client-id=Android-Studio --client-version=AI-242.21829.142 --protocol=analyzer |
20 MB | 0.0% | 21-01:16:57 | dart tooling-daemon --machine |
82 MB | 0.0% | 1-12:03:39 | dart tooling-daemon --machine |
81 MB | 0.1% | 06:45 | dart tooling-daemon --machine |
81 MB | 4.1% | 02:01 | flutter_tools.snapshot daemon |