Dart-code: Dart Analyzer consumes CPU and causes noticeable delay (seconds) when typing in IDE.

Created on 30 Dec 2020  ·  29Comments  ·  Source: Dart-Code/Dart-Code

Dart Analyzer consumes CPU and causes noticeable delay (seconds) when typing in IDE
What happens is that when I start coding on my project after like 30 minutes and a few hot restarts, CPU fan starts to become really noisy because dart process is consuming a lot of CPU. at this point every time I type CPU fan starts going louder and louder, and when I don't type after a few seconds CPU fan will sound less louder. so I'm assuming this is dart analyzer.

the other Weird thing that might help is on this project Flutter Hot restart takes a lot of time like 10 seconds.

I have no idea what is causing this

below you can see the result of $ flutter doctor $ code --status and dart-analyzer log after it failed

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.18363.959], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Android Studio (version 4.0)
[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
[√] VS Code, 64-bit edition (version 1.52.1)
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

$ code --status

**$ code --status**

Version:          Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS Version:       Windows_NT x64 10.0.18363
CPUs:             Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz (8 x 2195)
Memory (System):  15.92GB (8.41GB free)
VM:               0%
Screen Reader:    no
Process Argv:     --crash-reporter-id 2555c6bd-61eb-417c-a68c-23d5829cf155
GPU Status:       2d_canvas:                  enabled
                  flash_3d:                   enabled
                  flash_stage3d:              enabled
                  flash_stage3d_baseline:     enabled
                  gpu_compositing:            enabled
                  multiple_raster_threads:    enabled_on
                  oop_rasterization:          disabled_off
                  opengl:                     enabled_on
                  protected_video_decode:     unavailable_off
                  rasterization:              enabled
                  skia_renderer:              disabled_off_ok
                  video_decode:               enabled
                  vulkan:                     disabled_off
                  webgl:                      enabled
                  webgl2:                     enabled

CPU %   Mem MB     PID  Process
    0       62   10484  code main
    1      119    3000     gpu-process
    0       10    8076     crashpad-handler
    0       63    8768     shared-process
    8      216   14740     window (trainer_edit_profile_page.dart - matjoy_app - Visual Studio Code)
    0       22    5388       searchService
    0        6    8560       console-window-host (Windows internal process)
    0       15   11396       watcherService
    0        6   14036         console-window-host (Windows internal process)
   21      868   12412       extensionHost
    0        3    2112         C:\WINDOWS\system32\cmd.exe /d /s /c ""C:\flutter_dev\bin\flutter.bat" "daemon""
    0      164    1992           "C:\flutter_dev\bin\cache\dart-sdk\bin\dart.exe"  --disable-dart-dev --packages="C:\flutter_dev\packages\flutter_tools\.packages"  "C:\flutter_dev\bin\cache\flutter_tools.snapshot" "daemon"
    0        6    3372           console-window-host (Windows internal process)
    0       22    3804         electron_node languageserver.js
    0        3    5108         C:\WINDOWS\system32\cmd.exe /d /s /c ""C:\flutter_dev\bin\cache\dart-sdk\bin\dart.exe" "C:\flutter_dev\bin\cache\dart-sdk\bin\snapshots\analysis_server.dart.snapshot" "--client-id=VS-Code" "--client-version=3.18.0""
    0        6    9380           console-window-host (Windows internal process)
   18     1208   13348           "C:\flutter_dev\bin\cache\dart-sdk\bin\dart.exe"  "C:\flutter_dev\bin\cache\dart-sdk\bin\snapshots\analysis_server.dart.snapshot" "--client-id=VS-Code" "--client-version=3.18.0"
    0       30   14052         electron_node server.js
    0       34   15048         electron_node debug.js
    0        3   14928           C:\WINDOWS\system32\cmd.exe /d /s /c ""C:\flutter_dev\bin\flutter.bat" "run" "--machine" "--target" "lib\main.dart" "-d" "windows" "--dart-define=flutter.inspector.structuredErrors=true" "--start-paused" "--web-server-debug-protocol" "ws" "--web-server-debug-backend-protocol" "ws" "--web-allow-expose-url""
    0        6    6820             console-window-host (Windows internal process)
    0       96    8368             "C:\flutter_dev\bin\cache\dart-sdk\bin\dart.exe"  --disable-dart-dev --packages="C:\flutter_dev\packages\flutter_tools\.packages"  "C:\flutter_dev\bin\cache\flutter_tools.snapshot" "run" "--machine" "--target" "lib\main.dart" "-d" "windows" "--dart-define=flutter.inspector.structuredErrors=true" "--start-paused" "--web-server-debug-protocol" "ws" "--web-server-debug-backend-protocol" "ws" "--web-allow-expose-url"
    0      472    2992               C:\flutter_dev\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter_dev\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter_dev\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true -Dflutter.inspector.structuredErrors=true --output-dill C:\Users\easa\AppData\Local\Temp\flutter_tools.20eacb1\flutter_tool.a6fa1d90\app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --initialize-from-dill build\f872507f30e2ff2523f0f1d19160266e.cache.dill.track.dill
    5      813   16060               C:\workspace\flutter\projects\matjoy_app\build\windows\runner\Debug\matjoy_app.exe
    0        4   14264       "C:\Program Files\Git\bin\bash.exe"
    0        9   11460         "C:\Program Files\Git\bin\..\usr\bin\bash.exe"
    0       23   15180     utility

Workspace Stats:
|  Window (trainer_edit_profile_page.dart - matjoy_app - Visual Studio Code)
|    Folder (matjoy_app): 18049 files
|      File types: xml(3516) flat(1955) json(1782) class(798) png(421)
|                  dex(283) dart(270) ttf(226) txt(190) jar(188)
|      Conf files: cmake(9) sln(3) launch.json(1)
|      Launch Configs: dart

dart analyzer log

[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\main_screen.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\main_screen.dart","offset":259,"length":41,"startLine":8,"startColumn":8},"message":"Unused import: 'package:matjoy_app/core/navigation.dart'.","correction":"Try removing the import directive.","code":"unused_import","url":"https://dart.dev/tools/diagnostic-messages#u…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\matjoy_plugin.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\test_page.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\utils\\dialogs.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\utils\\list_view_model.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\utils\\utils_classes.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\utils\\utils_functions.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\utils\\utils_functions.dart","offset":7559,"length":17,"startLine":258,"startColumn":14},"message":"This function has a return type of 'String', but doesn't end with a return statement.","correction":"Try adding a return statement, or changing the return ty…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_add_comment.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_attention_message.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_attention_message.dart","offset":153,"length":47,"startLine":4,"startColumn":8},"message":"Unused import: 'package:matjoy_app/utils/utils_functions.dart'.","correction":"Try removing the import directive.","code":"unused_impor…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_category_item.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_category_item.dart","offset":410,"length":31,"startLine":11,"startColumn":51},"message":"The type parameter 'selected' is annotated with @required but only named parameters without a default value can be annotated with it.","corre…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_category_label.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_comment.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_copy_link_widget.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_course_item.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_course_item_vertical.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_data_table.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_deep_link_page_wrapper.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_form_image_picker.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_form_video_picker.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_form_video_picker.dart","offset":373,"length":47,"startLine":10,"startColumn":8},"message":"Unused import: 'package:matjoy_app/utils/utils_functions.dart'.","correction":"Try removing the import directive.","code":"unused_impo…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_link_text.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_multi_selector.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_multi_selector.dart","offset":210,"length":16,"startLine":6,"startColumn":7},"message":"This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AppMult…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_network_image.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_otp_field.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_otp_field.dart","offset":3491,"length":11,"startLine":100,"startColumn":9},"message":"The value of the local variable 'cursorIndex' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","ur…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_pair_text.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_profile_toolbar.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_range_picker.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_range_picker.dart","offset":48,"length":34,"startLine":2,"startColumn":8},"message":"Unused import: 'package:footprint/footprint.dart'.","correction":"Try removing the import directive.","code":"unused_import","url":"https://dart.d…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_rating.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_rating.dart","offset":210,"length":9,"startLine":6,"startColumn":7},"message":"This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AppRating.sizeFactor, Ap…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_resend_otp_count_down.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_resend_otp_count_down.dart","offset":90,"length":34,"startLine":3,"startColumn":8},"message":"Unused import: 'package:footprint/footprint.dart'.","correction":"Try removing the import directive.","code":"unused_import","ur…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_search_field.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_selector.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_selector.dart","offset":210,"length":11,"startLine":6,"startColumn":7},"message":"This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AppSelector.menuIte…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_session_builder.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_set_filter_widget.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_side_bar.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_side_bar.dart","offset":470,"length":47,"startLine":10,"startColumn":8},"message":"Unused import: 'package:matjoy_app/utils/utils_functions.dart'.","correction":"Try removing the import directive.","code":"unused_import","url":"https:/…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_sliver_course_item.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_sliver_horizontal_comment_list.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_sliver_search_field.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_sliver_trainer_item.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_text_field.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_text_field_multi_value_collector.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_toolbar.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_trailer_item.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_trailer_item.dart","offset":149,"length":34,"startLine":6,"startColumn":8},"message":"Unused import: 'package:footprint/footprint.dart'.","correction":"Try removing the import directive.","code":"unused_import","url":"https://dart.…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_trainer_income_card.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_trainer_item.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_trainer_item.dart","offset":339,"length":30,"startLine":7,"startColumn":8},"message":"Unused import: 'package:matjoy_app/main.dart'.","correction":"Try removing the import directive.","code":"unused_import","url":"https://dart.dev/…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_trainer_list_item_horizontal.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_trainer_list_item_horizontal.dart","offset":283,"length":30,"startLine":6,"startColumn":8},"message":"Unused import: 'package:matjoy_app/main.dart'.","correction":"Try removing the import directive.","code":"unused_…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\app_video_item.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\session_bloc_builder.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\sliver_four_tiles.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app\\sliver_four_tiles.dart","offset":348,"length":47,"startLine":7,"startColumn":8},"message":"Unused import: 'package:matjoy_app/utils/utils_functions.dart'.","correction":"Try removing the import directive.","code":"unused_import","url"…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\app_slivers.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\old\\app_form_field.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\old\\app_price_tag.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\old\\app_sliver_double_banner.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\old\\app_sliver_single_banner.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\sections\\search_bloc.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\widgets\\sections\\search_bloc.freezed.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\api_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\api_test.dart","offset":11730,"length":4,"startLine":336,"startColumn":9},"message":"The value of the local variable 'user' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","url":"https://dart.dev/tools/diagnostic-messa…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\auth_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\auth_cubit_test.dart","offset":977,"length":19,"startLine":22,"startColumn":12},"message":"The value of the local variable 'threeMinutesFromNow' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","url…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\courses_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\courses_cubit_test.dart","offset":1007,"length":3,"startLine":24,"startColumn":10},"message":"The value of the local variable 'bio' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","url":"https:/…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\course_single_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\course_single_cubit_test.dart","offset":856,"length":9,"startLine":20,"startColumn":12},"message":"The value of the local variable 'birthdate' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variabl…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\home_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\home_cubit_test.dart","offset":664,"length":10,"startLine":16,"startColumn":14},"message":"The value of the local variable 'datasource' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","url":"https:…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\profile_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\profile_cubit_test.dart","offset":863,"length":3,"startLine":21,"startColumn":10},"message":"The value of the local variable 'bio' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","url":"https://…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainee_signup_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainee_signup_cubit_test.dart","offset":855,"length":17,"startLine":20,"startColumn":25},"message":"The value of the local variable 'connectionChecker' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_lo…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainers_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainers_cubit_test.dart","offset":950,"length":8,"startLine":22,"startColumn":10},"message":"The value of the local variable 'fullname' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","url":"h…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainer_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainer_cubit_test.dart","offset":968,"length":7,"startLine":23,"startColumn":10},"message":"The value of the local variable 'country' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable","url":"http…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainer_signup_cubit_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\blocs\\trainer_signup_cubit_test.dart","offset":1397,"length":9,"startLine":34,"startColumn":7},"message":"The value of the local variable 'category2' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_varia…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\fake_test_data.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\just_test.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\session_test.dart","errors":[]}}
[1:57:36 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\widget_test.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\test\\widget_test.dart","offset":464,"length":30,"startLine":11,"startColumn":8},"message":"Unused import: 'package:matjoy_app/main.dart'.","correction":"Try removing the import directive.","code":"unused_import","url":"https://dart.dev/tools/diagnostic-messages#unused_im…
[1:57:36 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":false}}}
[1:57:39 AM] [Analyzer] [Info] ==> {"id":"6057","method":"edit.format","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","lineLength":130,"selectionLength":0,"selectionOffset":0},"clientRequestTime":1609280859605}
[1:57:39 AM] [Analyzer] [Info] <== {"id":"6057","result":{"edits":[{"offset":0,"length":7243,"replacement":"import 'package:dio/dio.dart';\r\nimport 'package:matjoy_app/core/constants.dart';\r\nimport 'package:matjoy_app/data/models/category.dart';\r\nimport 'package:matjoy_app/data/models/certificate.dart';\r\nimport 'package:matjoy_app/data/models/comment.dart';\r\nimport 'package:matjoy_app/data/models/course.dart';\r\nimport 'package:matjoy_app/data/models/invoice.dart';\r\nimport 'package:matjoy_app/data/models/social_ne…
[1:57:39 AM] [Analyzer] [Info] ==> {"id":"6058","method":"analysis.updateContent","params":{"files":{"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart":{"edits":[{"id":"","length":4,"offset":6571,"replacement":""}],"type":"change"}}},"clientRequestTime":1609280859647}
[1:57:39 AM] [Analyzer] [Info] <== {"id":"6058","result":{}}
[1:57:39 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
[1:57:39 AM] [FlutterRun] [Info] [matjoy_app] ==> [{"id":"44","method":"app.restart","params":{"appId":"d4524363-d939-4529-9457-cdc2dd989b5f","fullRestart":false,"pause":false,"reason":"save","debounce":true}}]
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":7162,"length":7,"startLine":190,"startColumn":9},"message":"The value of the local variable 'headers' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable",…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.occurrences","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","occurrences":[{"element":{"kind":"CLASS","name":"RestApi","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\retrofit-1.3.4+1\\lib\\http.dart","offset":995,"length":7,"startLine":31,"startColumn":7},"flags":0},"offsets":[821],"length":7},{"element":{"kind":"FIELD","name":"baseUrl","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\p…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.closingLabels","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","labels":[]}}
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.folding","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","regions":[{"kind":"CLASS_BODY","offset":880,"length":5691},{"kind":"CLASS_BODY","offset":6625,"length":611},{"kind":"FUNCTION_BODY","offset":6714,"length":333},{"kind":"FUNCTION_BODY","offset":7105,"length":128},{"kind":"DIRECTIVES","offset":6,"length":810}]}}
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","kind":"LIBRARY","outline":{"element":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"children":[{"element":{"kind":"CLASS","name":…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"flutter.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","outline":{"kind":"DART_ELEMENT","offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"dartElement":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"children":[{"kind":"DART_ELEMENT","of…
[1:57:39 AM] [FlutterRun] [Info] [matjoy_app] <== [{"event":"app.progress","params":{"appId":"d4524363-d939-4529-9457-cdc2dd989b5f","id":"71","progressId":"hot.reload","message":"Performing hot reload...","finished":false}}]
[1:57:39 AM] [Analyzer] [Info] <== {"event":"completion.availableSuggestions","params":{"changedLibraries":[{"id":1433,"uri":"package:matjoy_app/data/rest/client/rest_client.dart","items":[{"label":"RestClient","declaringLibraryUri":"package:matjoy_app/data/rest/client/rest_client.dart","element":{"kind":"CLASS","name":"RestClient","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":868,"length":0,"startLine":20,"startColumn":16},"flags":1},"relevanceTags":["El…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":false}}}
[1:57:39 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
[1:57:39 AM] [FlutterRun] [Info] [matjoy_app] <== [{"event":"app.progress","params":{"appId":"d4524363-d939-4529-9457-cdc2dd989b5f","id":"72","progressId":null,"message":"Syncing files to device Windows...","finished":false}}]
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":7162,"length":7,"startLine":190,"startColumn":9},"message":"The value of the local variable 'headers' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable",…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.occurrences","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","occurrences":[{"element":{"kind":"CLASS","name":"RestApi","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\retrofit-1.3.4+1\\lib\\http.dart","offset":995,"length":7,"startLine":31,"startColumn":7},"flags":0},"offsets":[821],"length":7},{"element":{"kind":"FIELD","name":"baseUrl","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\p…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.closingLabels","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","labels":[]}}
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.folding","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","regions":[{"kind":"CLASS_BODY","offset":880,"length":5691},{"kind":"CLASS_BODY","offset":6625,"length":611},{"kind":"FUNCTION_BODY","offset":6714,"length":333},{"kind":"FUNCTION_BODY","offset":7105,"length":128},{"kind":"DIRECTIVES","offset":6,"length":810}]}}
[1:57:39 AM] [Analyzer] [Info] <== {"event":"analysis.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","kind":"LIBRARY","outline":{"element":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"children":[{"element":{"kind":"CLASS","name":…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"flutter.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","outline":{"kind":"DART_ELEMENT","offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"dartElement":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"children":[{"kind":"DART_ELEMENT","of…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"completion.availableSuggestions","params":{"changedLibraries":[{"id":1433,"uri":"package:matjoy_app/data/rest/client/rest_client.dart","items":[{"label":"RestClient","declaringLibraryUri":"package:matjoy_app/data/rest/client/rest_client.dart","element":{"kind":"CLASS","name":"RestClient","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":868,"length":0,"startLine":20,"startColumn":16},"flags":1},"relevanceTags":["El…
[1:57:39 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":false}}}
[1:57:39 AM] [Analyzer] [Info] ==> {"id":"6059","method":"edit.getFixes","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":4622},"clientRequestTime":1609280859991}
[1:57:39 AM] [Analyzer] [Info] ==> {"id":"6060","method":"edit.getAssists","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":4622},"clientRequestTime":1609280859991}
[1:57:39 AM] [Analyzer] [Info] ==> {"id":"6061","method":"edit.getAvailableRefactorings","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":4622},"clientRequestTime":1609280859991}
[1:57:39 AM] [Analyzer] [Info] <== {"id":"6059","result":{"fixes":[]}}
[1:57:39 AM] [Analyzer] [Info] <== {"id":"6061","result":{"kinds":[]}}
[1:57:39 AM] [Analyzer] [Info] <== {"id":"6060","result":{"assists":[]}}
[1:57:40 AM] [Analyzer] [Info] ==> {"id":"6062","method":"analysis.getHover","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":4622},"clientRequestTime":1609280860761}
[1:57:40 AM] [Analyzer] [Info] <== {"id":"6062","result":{"hovers":[]}}
[1:57:40 AM] [FlutterRun] [Info] [matjoy_app] <== [{"event":"app.progress","params":{"appId":"d4524363-d939-4529-9457-cdc2dd989b5f","id":"72","progressId":null,"finished":true}}]
[1:57:41 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Isolate","event":{"type":"Event","kind":"IsolateReload","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280861143,"status":"success"}}}
[1:57:41 AM] [Analyzer] [Info] ==> {"id":"6063","method":"analysis.getHover","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":4622},"clientRequestTime":1609280861709}
[1:57:41 AM] [Analyzer] [Info] <== {"id":"6063","result":{"hovers":[]}}
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862004,"extensionData":{"description":"Exception caught by rendering library","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-3974","valueId":"inspector-3975","…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862032,"extensionData":{"description":"Exception caught by rendering library","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-4203","valueId":"inspector-4204","…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862053,"extensionData":{"description":"Exception caught by rendering library","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-4418","valueId":"inspector-4419","…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862208,"extensionData":{"description":"Exception caught by rendering library","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-4621","valueId":"inspector-4622","…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862228,"extensionData":{"description":"Exception caught by rendering library","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-4806","valueId":"inspector-4807","…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862244,"extensionData":{"description":"Exception caught by rendering library","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-4965","valueId":"inspector-4966","…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862260,"extensionData":{"description":"Exception caught by rendering library","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-5126","valueId":"inspector-5127","…
[1:57:42 AM] [Analyzer] [Info] ==> {"id":"6064","method":"analysis.getHover","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":4598},"clientRequestTime":1609280862294}
[1:57:42 AM] [Analyzer] [Info] <== {"id":"6064","result":{"hovers":[{"offset":4582,"length":16,"parameter":"[String value]","staticType":"String"}]}}
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862297,"extensionData":{"<Unknown Image(562×1000)>":{"source":"<Unknown Image(562×1000)>","displaySize":{"width":93.75,"height":93.75},"imageSize":{"width":562.0,"height":10…
[1:57:42 AM] [FlutterRun] [Info] [matjoy_app] <== [{"event":"app.progress","params":{"appId":"d4524363-d939-4529-9457-cdc2dd989b5f","id":"71","progressId":"hot.reload","finished":true}}]
[1:57:42 AM] [FlutterRun] [Info] [matjoy_app] <== Reloaded 125 of 2106 libraries in 2,561ms.
[1:57:42 AM] [FlutterRun] [Info] [matjoy_app] <== [{"id":"44","result":{"code":0,"message":"Reloaded 125 of 2106 libraries"}}]
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Error","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862362,"extensionData":{"description":"Exception caught by image resource service","type":"_FlutterErrorDetailsNode","allowWrap":false,"objectId":"inspector-5289","valueId":"inspector-52…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862472,"extensionData":{"<Unknown Image(562×1000)>":{"source":"<Unknown Image(562×1000)>","displaySize":{"width":93.75,"height":93.75},"imageSize":{"width":562.0,"height":10…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862474,"extensionData":{"number":5065,"startTime":4723636325,"elapsed":21892,"build":6885,"raster":12968,"vsyncOverhead":2007}}}}
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862564,"extensionData":{"<Unknown Image(562×1000)>":{"source":"<Unknown Image(562×1000)>","displaySize":{"width":93.75,"height":93.75},"imageSize":{"width":562.0,"height":10…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862653,"extensionData":{"<Unknown Image(562×1000)>":{"source":"<Unknown Image(562×1000)>","displaySize":{"width":93.75,"height":93.75},"imageSize":{"width":562.0,"height":10…
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862654,"extensionData":{"number":5066,"startTime":4723701394,"elapsed":162763,"build":96388,"raster":15931,"vsyncOverhead":50409}}}}
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862654,"extensionData":{"number":5067,"startTime":4723801743,"elapsed":108503,"build":87916,"raster":19789,"vsyncOverhead":758}}}}
[1:57:42 AM] [VmService] [Info] [matjoy_app] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/4455797201965115","name":"main","number":"4455797201965115","isSystemIsolate":false},"timestamp":1609280862776,"extensionData":{"number":5068,"startTime":4723901697,"elapsed":93379,"build":77508,"raster":15120,"vsyncOverhead":712}}}}
[1:58:30 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
[1:58:30 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":7162,"length":7,"startLine":190,"startColumn":9},"message":"The value of the local variable 'headers' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable",…
[1:58:30 AM] [Analyzer] [Info] <== {"event":"analysis.occurrences","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","occurrences":[{"element":{"kind":"CLASS","name":"RestApi","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\retrofit-1.3.4+1\\lib\\http.dart","offset":995,"length":7,"startLine":31,"startColumn":7},"flags":0},"offsets":[821],"length":7},{"element":{"kind":"FIELD","name":"baseUrl","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\p…
[1:58:30 AM] [Analyzer] [Info] <== {"event":"analysis.closingLabels","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","labels":[]}}
[1:58:30 AM] [Analyzer] [Info] <== {"event":"analysis.folding","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","regions":[{"kind":"CLASS_BODY","offset":880,"length":5691},{"kind":"CLASS_BODY","offset":6625,"length":611},{"kind":"FUNCTION_BODY","offset":6714,"length":333},{"kind":"FUNCTION_BODY","offset":7105,"length":128},{"kind":"DIRECTIVES","offset":6,"length":810}]}}
[1:58:30 AM] [Analyzer] [Info] <== {"event":"analysis.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","kind":"LIBRARY","outline":{"element":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"children":[{"element":{"kind":"CLASS","name":…
[1:58:30 AM] [Analyzer] [Info] <== {"event":"flutter.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","outline":{"kind":"DART_ELEMENT","offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"dartElement":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"children":[{"kind":"DART_ELEMENT","of…
[1:58:31 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","offset":715,"length":72,"startLine":14,"startColumn":8},"message":"Unused import: 'package:matjoy_app/features/certificate/add_edit_certificate_page.da…
[1:58:31 AM] [Analyzer] [Info] <== {"event":"analysis.occurrences","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","occurrences":[{"element":{"kind":"ENUM","name":"EditProfilePageSection","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","offset":1516,"length":22,"startLine":28,"startColumn":6},"flags":0},"offsets":[1516,4919,4998,9161,9249,11410,11495,…
[1:58:31 AM] [Analyzer] [Info] <== {"event":"analysis.closingLabels","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","labels":[{"offset":1946,"length":2625,"label":"WillPopScope"},{"offset":2101,"length":2462,"label":"Scaffold"},{"offset":2128,"length":180,"label":"AppToolbar"},{"offset":2325,"length":2228,"label":"BlocBuilder"},{"offset":2516,"length":1938,"label":"NoScrollGlow"},{"offset":2554,"length":1882,"label":"SingleChildScrollView…
[1:58:31 AM] [Analyzer] [Info] <== {"event":"analysis.folding","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","regions":[{"kind":"CLASS_BODY","offset":1669,"length":17769},{"kind":"FUNCTION_BODY","offset":1811,"length":37},{"kind":"FUNCTION_BODY","offset":1933,"length":2643},{"kind":"INVOCATION","offset":1959,"length":2611},{"kind":"FUNCTION_BODY","offset":1988,"length":96},{"kind":"INVOCATION","offset":2110,"length":2452},{"kind":"INVOCA…
[1:58:31 AM] [Analyzer] [Info] <== {"event":"analysis.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","kind":"LIBRARY","outline":{"element":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","offset":0,"length":19580,"startLine":1,"startColumn":1},"flags":0},"offset":0,"length":19580,"codeOffset":0,"cod…
[1:58:31 AM] [Analyzer] [Info] <== {"event":"flutter.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","outline":{"kind":"DART_ELEMENT","offset":0,"length":19580,"codeOffset":0,"codeLength":19580,"dartElement":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","offset":0,"length":19580,"startLine":1,"star…
[1:58:31 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":false}}}
[1:58:31 AM] [Analyzer] [Info] ==> {"id":"6065","method":"edit.getFixes","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","offset":0},"clientRequestTime":1609280911347}
[1:58:31 AM] [Analyzer] [Info] ==> {"id":"6066","method":"edit.getAssists","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","length":0,"offset":0},"clientRequestTime":1609280911347}
[1:58:31 AM] [Analyzer] [Info] ==> {"id":"6067","method":"edit.getAvailableRefactorings","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","length":0,"offset":0},"clientRequestTime":1609280911347}
[1:58:31 AM] [Analyzer] [Info] ==> {"id":"6068","method":"edit.getFixes","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","offset":0},"clientRequestTime":1609280911348}
[1:58:31 AM] [Analyzer] [Info] ==> {"id":"6069","method":"edit.getAssists","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","length":0,"offset":0},"clientRequestTime":1609280911348}
[1:58:31 AM] [Analyzer] [Info] ==> {"id":"6070","method":"edit.getAvailableRefactorings","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","length":0,"offset":0},"clientRequestTime":1609280911348}
[1:58:31 AM] [Analyzer] [Info] <== {"id":"6065","result":{"fixes":[]}}
[1:58:31 AM] [Analyzer] [Info] <== {"id":"6067","result":{"kinds":["RENAME"]}}
[1:58:31 AM] [Analyzer] [Info] <== {"id":"6068","result":{"fixes":[]}}
[1:58:31 AM] [Analyzer] [Info] <== {"id":"6070","result":{"kinds":["RENAME"]}}
[1:58:31 AM] [Analyzer] [Info] <== {"id":"6066","result":{"assists":[{"message":"Add explicit 'show' combinator","edits":[{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","fileStamp":0,"edits":[{"offset":39,"length":0,"replacement":" show Align, AlignmentDirectional, BuildContext, Center, CircleBorder, Column, Container, CrossAxisAlignment, Directionality, EdgeInsets, Expanded, GestureDetector, Icon, MainAxisAlignment, MainAxisSize, MediaQuery, Opac…
[1:58:31 AM] [Analyzer] [Info] <== {"id":"6069","result":{"assists":[{"message":"Add explicit 'show' combinator","edits":[{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\features\\profiles\\trainer\\edit\\trainer_edit_profile_page.dart","fileStamp":0,"edits":[{"offset":39,"length":0,"replacement":" show Align, AlignmentDirectional, BuildContext, Center, CircleBorder, Column, Container, CrossAxisAlignment, Directionality, EdgeInsets, Expanded, GestureDetector, Icon, MainAxisAlignment, MainAxisSize, MediaQuery, Opac…
[1:58:47 AM] [VmService] [Info] [matjoy_app] Termination requested!
[1:58:47 AM] [FlutterRun] [Info] [matjoy_app] ==> [{"id":"45","method":"app.stop","params":{"appId":"d4524363-d939-4529-9457-cdc2dd989b5f"}}]
[1:58:47 AM] [VmService] [Info] [matjoy_app] VM service connection closed: 1005 ()
[1:58:47 AM] [FlutterRun] [Info] [matjoy_app] <== Application finished.
[1:58:47 AM] [FlutterRun] [Info] [matjoy_app] <== [{"id":"45","result":true}]
[1:58:47 AM] [FlutterRun] [Info] [matjoy_app] <== [{"event":"app.stop","params":{"appId":"d4524363-d939-4529-9457-cdc2dd989b5f"}}]
[1:58:47 AM] [FlutterRun] [Info] [matjoy_app] Process terminated! null, SIGTERM
[1:58:47 AM] [VmService] [Info] [matjoy_app] Process exited (sigterm)
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Requested to terminate with SIGINT...
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Did not need to terminate processes
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Removing all stored data...
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Waiting for process to finish...
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Disconnecting...
[1:58:47 AM] [VmService] [Info] [matjoy_app] Disconnect requested!
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Requested to terminate with SIGINT...
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Did not need to terminate processes
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Removing all stored data...
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Waiting for process to finish...
[1:58:47 AM] [VmService] [Info] [matjoy_app] TERM: Disconnecting...
[1:58:47 AM] [General] [Info] Debugger:SessionDuration timing: 4339364ms (Flutter)
[1:58:47 AM] [Analyzer] [Info] ==> {"id":"6071","method":"edit.getFixes","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":3568},"clientRequestTime":1609280927916}
[1:58:47 AM] [Analyzer] [Info] ==> {"id":"6072","method":"edit.getAssists","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":3568},"clientRequestTime":1609280927917}
[1:58:47 AM] [Analyzer] [Info] ==> {"id":"6073","method":"edit.getAvailableRefactorings","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":3568},"clientRequestTime":1609280927917}
[1:58:47 AM] [Analyzer] [Info] <== {"id":"6071","result":{"fixes":[]}}
[1:58:47 AM] [Analyzer] [Info] <== {"id":"6073","result":{"kinds":[]}}
[1:58:47 AM] [Analyzer] [Info] <== {"id":"6072","result":{"assists":[]}}
[1:58:50 AM] [Analyzer] [Info] ==> {"id":"6074","method":"edit.getFixes","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":4047},"clientRequestTime":1609280930526}
[1:58:50 AM] [Analyzer] [Info] ==> {"id":"6075","method":"edit.getAssists","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":4047},"clientRequestTime":1609280930526}
[1:58:50 AM] [Analyzer] [Info] ==> {"id":"6076","method":"edit.getAvailableRefactorings","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":4047},"clientRequestTime":1609280930526}
[1:58:50 AM] [Analyzer] [Info] <== {"id":"6074","result":{"fixes":[]}}
[1:58:50 AM] [Analyzer] [Info] <== {"id":"6076","result":{"kinds":[]}}
[1:58:50 AM] [Analyzer] [Info] <== {"id":"6075","result":{"assists":[]}}
[1:59:01 AM] [Analyzer] [Info] <== {"event":"analysis.flushResults","params":{"files":["C:\\workspace\\flutter\\projects\\matjoy_app\\build\\app\\intermediates\\bundle_manifest\\debug\\processDebugManifest\\bundle-manifest\\AndroidManifest.xml"]}}
[1:59:01 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\build\\app\\intermediates\\bundle_manifest\\debug\\processDebugManifest\\bundle-manifest\\AndroidManifest.xml","errors":[]}}
[1:59:02 AM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
[1:59:02 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","errors":[{"severity":"INFO","type":"HINT","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":7162,"length":7,"startLine":190,"startColumn":9},"message":"The value of the local variable 'headers' isn't used.","correction":"Try removing the variable, or using it.","code":"unused_local_variable",…
[1:59:02 AM] [Analyzer] [Info] <== {"event":"analysis.flushResults","params":{"files":["C:\\workspace\\flutter\\projects\\matjoy_app\\build\\app\\intermediates\\bundle_manifest\\release\\processReleaseManifest\\bundle-manifest\\AndroidManifest.xml"]}}
[1:59:02 AM] [Analyzer] [Info] <== {"event":"analysis.errors","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\build\\app\\intermediates\\bundle_manifest\\release\\processReleaseManifest\\bundle-manifest\\AndroidManifest.xml","errors":[]}}
[1:59:02 AM] [Analyzer] [Info] <== {"event":"analysis.occurrences","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","occurrences":[{"element":{"kind":"CLASS","name":"RestApi","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\retrofit-1.3.4+1\\lib\\http.dart","offset":995,"length":7,"startLine":31,"startColumn":7},"flags":0},"offsets":[821],"length":7},{"element":{"kind":"FIELD","name":"baseUrl","location":{"file":"C:\\flutter\\.pub-cache\\hosted\\p…
[1:59:02 AM] [Analyzer] [Info] <== {"event":"analysis.closingLabels","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","labels":[]}}
[1:59:02 AM] [Analyzer] [Info] <== {"event":"analysis.folding","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","regions":[{"kind":"CLASS_BODY","offset":880,"length":5691},{"kind":"CLASS_BODY","offset":6625,"length":611},{"kind":"FUNCTION_BODY","offset":6714,"length":333},{"kind":"FUNCTION_BODY","offset":7105,"length":128},{"kind":"DIRECTIVES","offset":6,"length":810}]}}
[1:59:02 AM] [Analyzer] [Info] <== {"event":"analysis.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","kind":"LIBRARY","outline":{"element":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"children":[{"element":{"kind":"CLASS","name":…
[1:59:02 AM] [Analyzer] [Info] <== {"event":"flutter.outline","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","outline":{"kind":"DART_ELEMENT","offset":0,"length":7239,"codeOffset":0,"codeLength":7239,"dartElement":{"kind":"COMPILATION_UNIT","name":"<unit>","location":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":0,"length":7239,"startLine":1,"startColumn":1},"flags":0},"children":[{"kind":"DART_ELEMENT","of…
[1:59:02 AM] [Analyzer] [Info] ==> {"id":"6077","method":"edit.getFixes","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","offset":4047},"clientRequestTime":1609280942330}
[1:59:02 AM] [Analyzer] [Info] ==> {"id":"6078","method":"edit.getAssists","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":4047},"clientRequestTime":1609280942331}
[1:59:02 AM] [Analyzer] [Info] ==> {"id":"6079","method":"edit.getAvailableRefactorings","params":{"file":"C:\\workspace\\flutter\\projects\\matjoy_app\\lib\\data\\rest\\client\\rest_client.dart","length":0,"offset":4047},"clientRequestTime":1609280942331}
[1:59:16 AM] [Analyzer] [Info] Process terminated! 3221225477, null
awaiting info is bug stale

All 29 comments

@easazade let me know if LSP makes any difference. Also, can you confirm if you have any extensions like Vim installed, which will be handling keypresses (this can cause a delay in typing - see https://github.com/microsoft/vscode/issues/75627).

If you're unable to share the project, are you able to make a copy of it and remove anything sensitive, to see if you can make something shareable that still reproduces the issue? Thanks!

@easazade let me know if LSP makes any difference. Also, can you confirm if you have any extensions like Vim installed, which will be handling keypresses (this can cause a delay in typing - see microsoft/vscode#75627).

If you're unable to share the project, are you able to make a copy of it and remove anything sensitive, to see if you can make something shareable that still reproduces the issue? Thanks!

i don't think it is a plugin problem since i have this problem in both Android Studio and VSCode. though typing delays in Android Studio are way worth when this issue starts showing up. I will post the result after enabling preview LSP here as soon as possible.

how can i enable preview LSP in Android Studio?

There's no LSP option in Android Studio, it's only in VS Code. If you're able to trim down your project to something you can share (but still reproduces the issue), that may help track down what's going on.

i haven't coded that much but i think my problems are solved on vs-code, at least. though I'm not at all comfortable in vs-code. I also had problems with code-completions. auto-imports to be exact. for some reason some of my classes wouldn't be recognized when i wanted to import them. I guess it is fixed too. I can add you to my gitlab repo. i don't see anyway i can trim down the project.

Same problem. Been the same problem for a long time, across a lot of machines, VSCode iterations and Dart projects.

This issue has been opened many times over the years across various repositories, and all of them have been closed with zero resolution or progress. Not terrific.

Here's the problematic Dart process:

[...]/flutter/bin/cache/dart-sdk/bin/dart [...]/flutter/bin/cache/dart-sdk/bin/snapshots/analysis_server.dart.snapshot --lsp --client-id=VS-Code --client-version=3.18.0 --instrumentation-log-file=[...]/analyzerInstrumentation.txt

The problem is workspace specific. Make two files in an empty folder in a clean VSCode workspace:

import.dart: blank
test.dart: import 'import.dart';

Command-click the import. The same dart process above will run almost instantly and import.dart will open.

Add a big Flutter project to the workspace and Command-click import.dart again. Analyzer crawls or hangs completely.

These have no effect on the problem:

  • Different flutter channels
  • flutter clean
  • Enabling/disabling LSP
  • Restarting VSCode
  • Extensions
  • Quantity of extensions
  • Rebooting

This "fixes" the problem:

  • Remove all directories with many files (e.g. build, ios, node_modules, etc.)

The reason this works is because the Dart analyzer absolutely tanks when there's a lot of files in the workspace. Not sure if it's file type or file size based as well. Go into your project root and run this to count the number of files:

find . -type f | wc -l

Moving some folders out into their own repos, particularly if you have any node_modules in your project anywhere, will have a major impact on file count and Dart analyzer performance.

There's some more experimentation to do around file types, file sizes and folder structures, but the gist of it is that the Dart analyzer fails nearly completely once a project gets big and diverse.

I'm not sure what to say. But this is the biggest project I created with flutter. and I didn't experienced this issue before. But I don't get it when you say delete ios 📁. How would I then run it on Iphone? 🤔

My post was aimed at whomever is theoretically responsible for this issue.

When I say deleting the folders "fixes" the problem, it's only to demonstrate that's what fixes the analyzer itself, not that it actually fixes the problem in any usable way.

As far as we can tell, Dart analyzer is simply unworkable with certain projects in its current state. Our main Flutter project is large enough where simply having ios and build be full causes the Dart analyzer to hang.

@stx are you able to provide a folder that triggers this? I've spent time trying to reproduce it, but it's not clear how big your project is and whether it's influenced by dependencies or other things.

If anyone can provide a project that triggers this, I'm very interested in debugging it.

Something else you could try is excluding large folders that don't contain Dart files from analysis like this:

"dart.analysisExcludedFolders": [
    "ios",
    "node_modules",
],

Let me know if that seems to make any significant difference.

@DanTup I appreciate your interest in solving this. So far I haven't faced any new issues like before after enabling LSP. I have excluded the folders you mentioned from dart analyzer and will report if I noticed any significant changes.

LSP is going to became the default in an upcoming release. If it doesn't happen with LSP, then probably we can close this then - although I'm not sure why LSP would make a difference.

I'll leave this tagged awaiting-info and if someone can provide a repro (ideally using LSP) I'll take a look. Otherwise, the bot will ping in 30 days if no replies and close it 10 days later.

Thanks!

LSP is going to became the default in an upcoming release. If it doesn't happen with LSP, then probably we can close this then - although I'm not sure why LSP would make a difference.

I'll leave this tagged awaiting-info and if someone can provide a repro (ideally using LSP) I'll take a look. Otherwise, the bot will ping in 30 days if no replies and close it 10 days later.

Thanks!

I'm telling you I can add you to my gitlab repo if you want? I mean if you think about it this issue only happens on large projects and who is going to share a large project publicly, which most definitely is commercial or contains important code in some way ?

@easazade are you able to reproduce it with LSP enabled? From a comment above, it sounded like that solved the issue.

I'd prefer not to have access to anything commercial/sensitive. If it's simply a matter of having a lot of code, it may be reproducible by just creating a lot of useless code. I've tried this with no luck (starting from flutter_gallery), but I don't know what the size of your project is or if it's influenced by anything specific in your project (for example dependencies).

Are you able to share a copy of your project with anything sensitive stripped out (but that still shows the issue)?

@DanTup I understand your concern. so far no issues anymore. just that there is no option for android studio to enable lsp

Is there any known dependencies that can cause something like this?

Is there any known dependencies that can cause something like this?

Not known, but often when issues like this come up and I can't reproduce them, it turns out there's something specific in the projects seeing the issue that I didn't have in my project. This is why a repro project is always best, as it's not always clear if I can't repro whether it's because my project wouldn't trigger it, or it's something else different about my set up. Having a project I know others have seen it on helps narrow that down.

Something else you could try is excluding large folders that don't contain Dart files from analysis like this:

"dart.analysisExcludedFolders": [
  "ios",
  "node_modules",
],

Let me know if that seems to make any significant difference.

Wow, this fixed Dart analyzer performance instantly! Thanks a lot.

Here's what I added:

"dart.analysisExcludedFolders": [
    "build",
    "ios",
],

Had added this under analyzer: exclude: in analysis_options.yaml as that was the closest thing I could find and that didn't seem to have any effect.

This is wild. It seems like these should be specified by default, somehow - either when creating a Flutter project, as part of the setup instructions or some other solution.

@DanTup

IDE usage is sped up tremendously using analysisExcludedFolders. There is still a lengthy 100% CPU spike/delay in this scenario:

import.dart: blank
test.dart: import 'import.dart';

Command-click the import. It takes 5+ seconds to open import.dart. Fixed when all large folders are removed from the workspace.

Doesn't appear that this feature is taking into account analysisExcludedFolders?

@DanTup

Try this VSCode workspace to reproduce:

test/import.dart
test/test.dart: import 'import.dart';

Opening import.dart is instant.

Add another folder to the workspace without any Dart files, e.g. a Firebase repo (with functions, node_modules, etc.)

Opening import.dart jumps up to 3+ seconds.

There needs to be a more reliable, automatic way to not unnecessarily analyze non-Dart files (which is 30k+ files as is the case with our Firebase repo) as it craters Dart productivity and isn't intuitive at all that this will happen when non-Dart folders are added to the workspace.

Thanks a lot for your help.

IDE usage is sped up tremendously using analysisExcludedFolders

Interesting - are you able to create a project you can share that has significant performance differences with/without this? I'd like to profile it and see exactly where the time is being spent. It's probably not reasonable for the analyzer to just blanket ignore any ios or build folder (these are both names that could be easily be used in your project), but it seems like there's room to do something.

There needs to be a more reliable, automatic way to not unnecessarily analyze non-Dart files

That's what analysisExcludedFolders is intended to provide, as there's no other way that we know whether a project is Dart or not. If you have non-Dart projects, I would definitely recommend listing them in analysisExcludedFolders. You shouldn' really need to do that for things inside a Flutter project itself (like ios/build though), as I think the server should really be smart enough to understand what they are.

@DanTup I'm curious could having multiple instances of dart installed cause such problem? I have another instance of dart installed by chocolatey in this directory /c/tools/dart-sdk/bin/dart and when I call which dart in command line result is the same directory not the directory of the dart-sdk included in flutter-sdk.

FYI I installed another version of dart because for some reason I couldn't get flutter_gen package to work with the dart sdk included in Flutter sdk. flutter_gen is a command line tool and uses dart to run

I'm curious could having multiple instances of dart installed cause such problem?

It shouldn't, but if one of those SDKs is very old and is the one being used, then ofc you may not have latest fixes and such.

I generally have multiple Dart and Flutter SDKs on my machine. I always use the standalone Dart SDKs for Dart projects, and the Flutter SDK for Flutter projects (and use this feature to switch between SDK versions as required).

You can see which SDK VS Code is using by running the Dart: Capture Logs command, clicking OK, then immediately Cancel and the generated log will have a header that includes SDK locations:

Dart SDK:
    Loc: /Users/danny/Dev/Google/flutter/bin/cache/dart-sdk
    Ver: 2.12.0-263.0.dev
Flutter SDK:
    Loc: /Users/danny/Dev/Google/flutter
    Ver: 1.26.0-13.0.pre.194

In a Flutter project, the Dart SDK should always be the one inside your Flutter SDK. For Dart projects, it'll use your VS Code user setting (dart.sdkPath) or look on PATH for the first matching SDK.

What is LSP you're talking about here and how to enable it?

PS: Found that. It's dart.previewLsp property in VSCode prefs.

This issue has been marked stale because it is tagged awaiting-info for 30 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.

@easazade are you still having issues?

@easazade are you still having issues?

only on the said project. but again after enabling previewLsp it is almost solved. though sometimes dart formatter takes along time to format code on auto-save like 8 seconds long. and sometimes dart formatter stops. I don't know if these issues are related

@easazade are you on the Flutter stable channel? I recently fixed a bug that could cause some performance issues immediately after a) opening a new file or b) hovering over a symbol and holding Cmd/Ctrl (this triggers a "file open" event in VS Code because it shows a preview of the code in the tooltip). I wonder if that could be the cause of the slow format.

That issue is fixed in dev/master channels on Flutter, so if you still see it there, it's likely something else.

This issue has been marked stale because it is tagged awaiting-info for 30 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ifredom picture ifredom  ·  3Comments

rajeshjeshar picture rajeshjeshar  ·  4Comments

DanTup picture DanTup  ·  4Comments

jascodes picture jascodes  ·  4Comments

Matt-Gleich picture Matt-Gleich  ·  4Comments