• Jonah Williams's avatar
    [flutter_tools] eagerly set asset directory path, cache flutter views,... · 3300a1bd
    Jonah Williams authored
    [flutter_tools] eagerly set asset directory path, cache flutter views, simplify error handling (#68978)
    
    Performs some small cleanup on the hot reload code path.
    
    - Combines nested try/catch into single try catch, update on clause now that package:vm_service is used and Map does not need to be caught.
    - Cache FlutterViews for the lifetime of the hot reload method handler
    - Set asset directory path once during startup and remove conditional set during hot reload
    3300a1bd
Name
Last commit
Last update
..
bin Loading commit data...
doc Loading commit data...
gradle Loading commit data...
ide_templates/intellij Loading commit data...
lib Loading commit data...
schema Loading commit data...
static Loading commit data...
templates Loading commit data...
test Loading commit data...
tool Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dart_test.yaml Loading commit data...
pubspec.yaml Loading commit data...