Repository: flutter
Issue: Flutter doesn't work when installed to icloud sync folder
Labels: tool,a: first hour,P2,team-tool,triaged-tool

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

It seems like I've followed all the instructions on https://flutter.dev/docs/get-started/install/macos plus a youtube tutorial but I run into an error. Not sure what it is, but I'm new to flutter and want to explore it

## Steps to Reproduce

<!-- Please tell us exactly how to reproduce the problem you are running into. -->

1. flutter create my_app
2. cd my_app
3. flutter run

## Logs

<!--
      Include the full logs of the commands you are running between the lines
      with the backticks below. If you are running any "flutter" commands,
      please include the output of running them with "--verbose"; for example,
      the output of running "flutter --verbose create foo".
-->

```Launching lib/main.dart on iPhone Xʀ in debug mode...

Compiler message:
Error: SDK summary not found:
file:///Users/carla/Documents/flutter/bin/cache/artifacts/engine/common/flutter_
patched_sdk/platform_strong.dill.
Error: Error when reading
'file:///Users/carla/Documents/flutter/bin/cache/artifacts/engine/common/flutter
_patched_sdk/platform_strong.dill': No such file or directory
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:async'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:collection'
lib/main.dart:1:1: Error: Not found: 'dart:collection'
import 'package:flutter/material.dart';
^
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:convert'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:developer'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:ffi'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:_internal'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:isolate'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:math'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:mirrors'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:profiler'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:typed_data'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found:
'dart:nativewrappers'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:io'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found: 'dart:ui'
org-dartlang-untranslatable-uri:dart%3Acore: Error: Not found:
'dart:vmservice_io'
lib/main.dart:1:1: Error: Not found: 'dart:core'
import 'package:flutter/material.dart';
^
org-dartlang-untranslatable-uri:dart%3Acore:1:8: Error: Not found:
'dart:_internal'
import 'dart:_internal';
       ^
org-dartlang-untranslatable-uri:dart%3Acore:2:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
org-dartlang-untranslatable-uri:dart%3Acore:4:1: Error: Not found: 'dart:async'
export 'dart:async' show Future, Stream;
^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/about.da
rt:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/about.da
rt:6:8: Error: Not found: 'dart:developer'
import 'dart:developer' show Timeline, Flow;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/about.da
rt:7:8: Error: Not found: 'dart:io'
import 'dart:io' show Platform;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/animated
_icons.dart:8:8: Error: Not found: 'dart:math'
import 'dart:math' as math show pi;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/animated
_icons.dart:9:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui show Paint, Path, Canvas;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/animated
_icons.dart:10:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/app.dart
:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/app_bar.
dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/app_bar_
theme.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/arc.dart
:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/arc.dart
:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/bottom_a
pp_bar_theme.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/bottom_n
avigation_bar.dart:5:8: Error: Not found: 'dart:collection'
import 'dart:collection' show Queue;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/bottom_n
avigation_bar.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/bottom_s
heet.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/bottom_s
heet_theme.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/button.d
art:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/card_the
me.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/checkbox
.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/chip.dar
t:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/chip_the
me.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/colors.d
art:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Color;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/data_tab
le.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/date_pic
ker.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/date_pic
ker.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/dialog.d
art:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/dialog_t
heme.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/drawer.d
art:5:8: Error: Not found: 'dart:math'
import 'dart:math';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/dropdown
.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/expand_i
con.dart:4:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/feedback
.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/flexible
_space_bar.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/floating
_action_button.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/floating
_action_button_location.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/floating
_action_button_theme.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/icon_but
ton.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/ink_ripp
le.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/ink_spla
sh.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/ink_well
.dart:5:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/input_bo
rder.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/input_bo
rder.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/input_de
corator.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/input_de
corator.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/list_til
e.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/material
_button.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/material
_localizations.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/material
_state.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Color;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/mergeabl
e_material.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/paginate
d_data_table.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/popup_me
nu.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/progress
_indicator.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/range_sl
ider.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/range_sl
ider.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/range_sl
ider.dart:7:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/refresh_
indicator.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/refresh_
indicator.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/reordera
ble_list.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/scaffold
.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/scaffold
.dart:6:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/scaffold
.dart:7:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/scrollba
r.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/search.d
art:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/shadows.
dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Color, Offset;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/slider.d
art:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/slider.d
art:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/slider.d
art:7:8: Error: Not found: 'dart:math'
import 'dart:math';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/slider_t
heme.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/slider_t
heme.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Path, lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/snack_ba
r_theme.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/tab_cont
roller.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/tabs.dar
t:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/tabs.dar
t:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/text_fie
ld.dart:5:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/text_sel
ection.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/theme_da
ta.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Color, hashList;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/time.dar
t:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show hashValues;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/time_pic
ker.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/time_pic
ker.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/tooltip.
dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/material/user_acc
ounts_drawer_header.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/painting.dart:20:1:
Error: Not found: 'dart:ui'
export 'dart:ui' show Shadow, PlaceholderAlignment;
^
file:///Users/carla/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/vector_
math-2.0.8/lib/vector_math_64.dart:22:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/vector_
math-2.0.8/lib/vector_math_64.dart:23:8: Error: Not found: 'dart:typed_data'
import 'dart:typed_data';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/app.dart:
5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/app.dart:
6:8: Error: Not found: 'dart:collection'
import 'dart:collection' show HashMap;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/app.dart:
26:1: Error: Not found: 'dart:ui'
export 'dart:ui' show Locale;
^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/async.dar
t:9:8: Error: Not found: 'dart:async'
import 'dart:async' show Future, Stream, StreamSubscription;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/automatic
_keep_alive.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/banner.da
rt:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/basic.dar
t:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui show Image, ImageFilter;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/binding.d
art:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/binding.d
art:6:8: Error: Not found: 'dart:developer'
import 'dart:developer' as developer;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/binding.d
art:7:8: Error: Not found: 'dart:ui'
import 'dart:ui' show AppLifecycleState, Locale, AccessibilityFeatures;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/binding.d
art:21:1: Error: Not found: 'dart:ui'
export 'dart:ui' show AppLifecycleState, Locale;
^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/bottom_na
vigation_bar_item.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Color;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/debug.dar
t:5:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/debug.dar
t:6:8: Error: Not found: 'dart:developer'
import 'dart:developer' show Timeline; // to disambiguate reference in dartdocs
below
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/editable_
text.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/editable_
text.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/editable_
text.dart:7:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/fade_in_i
mage.dart:5:8: Error: Not found: 'dart:typed_data'
import 'dart:typed_data';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/focus_man
ager.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/focus_man
ager.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/framework
.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/framework
.dart:6:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/framework
.dart:7:8: Error: Not found: 'dart:developer'
import 'dart:developer';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/framework
.dart:15:1: Error: Not found: 'dart:ui'
export 'dart:ui' show hashValues, hashList;
^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/icon_data
.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show hashValues;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/icon_them
e_data.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Color, hashValues;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/icon_them
e_data.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui show lerpDouble;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/image.dar
t:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/image.dar
t:6:8: Error: Not found: 'dart:io'
import 'dart:io' show File;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/image.dar
t:7:8: Error: Not found: 'dart:typed_data'
import 'dart:typed_data';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/inherited
_model.dart:5:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/list_whee
l_scroll_view.dart:4:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/list_whee
l_scroll_view.dart:5:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/list_whee
l_scroll_view.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/localizat
ions.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/localizat
ions.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Locale;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/media_que
ry.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/media_que
ry.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/media_que
ry.dart:7:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Brightness;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/navigatio
n_toolbar.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/navigator
.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/navigator
.dart:6:8: Error: Not found: 'dart:convert'
import 'dart:convert';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/navigator
.dart:7:8: Error: Not found: 'dart:developer'
import 'dart:developer' as developer;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/nested_sc
roll_view.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/nested_sc
roll_view.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/overlay.d
art:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/overlay.d
art:6:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/overscrol
l_indicator.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async' show Timer;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/overscrol
l_indicator.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/page_view
.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/page_view
.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/routes.da
rt:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/safe_area
.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_ac
tivity.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_ac
tivity.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_co
ntroller.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_me
trics.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_ph
ysics.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_po
sition.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_po
sition_with_single_context.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_si
mulation.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scroll_vi
ew.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scrollabl
e.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scrollabl
e.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scrollabl
e.dart:7:8: Error: Not found: 'dart:ui'
import 'dart:ui';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/scrollbar
.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/semantics
_debugger.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/semantics
_debugger.dart:6:8: Error: Not found: 'dart:ui'
import 'dart:ui' show SemanticsFlag;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/single_ch
ild_scroll_view.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/sliver.da
rt:5:8: Error: Not found: 'dart:collection'
import 'dart:collection' show SplayTreeMap, HashMap;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/table.dar
t:5:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/text_sele
ction.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/text_sele
ction.dart:6:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/transitio
ns.dart:5:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_in
spector.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_in
spector.dart:6:8: Error: Not found: 'dart:convert'
import 'dart:convert';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_in
spector.dart:7:8: Error: Not found: 'dart:developer'
import 'dart:developer' as developer;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_in
spector.dart:8:8: Error: Not found: 'dart:math'
import 'dart:math' as math;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_in
spector.dart:9:8: Error: Not found: 'dart:typed_data'
import 'dart:typed_data';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_in
spector.dart:10:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_in
spector.dart:22:8: Error: Not found: 'dart:ui'
import 'dart:ui' show Canvas, Offset;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/widgets/widget_sp
an.dart:5:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui show ParagraphBuilder, PlaceholderAlignment;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/basic_
types.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/basic_
types.dart:6:8: Error: Not found: 'dart:collection'
import 'dart:collection';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/basic_
types.dart:10:1: Error: Not found: 'dart:ui'
export 'dart:ui' show VoidCallback;
^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/bindin
g.dart:5:8: Error: Not found: 'dart:async'
import 'dart:async';
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/bindin
g.dart:6:8: Error: Not found: 'dart:convert'
import 'dart:convert' show json;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/bindin
g.dart:7:8: Error: Not found: 'dart:developer'
import 'dart:developer' as developer;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/bindin
g.dart:8:8: Error: Not found: 'dart:io'
import 'dart:io' show exit;
       ^
file:///Users/carla/Documents/flutter/packages/flutter/lib/src/foundation/bindin
g.dart:9:8: Error: Not found: 'dart:ui'
import 'dart:ui' as ui show saveCompilationTrace, Window, window;
       ^
Unhandled exception:
Crash when compiling package:flutter/src/foundation/bitfield.dart,
at character offset null:
dart:core: Internal problem: Unhandled null in accessor.
#0      internalProblem (package:front_end/src/fasta/problems.dart:45:3)
#1      unhandled (package:front_end/src/fasta/problems.dart:58:10)
#2      Loader.read (package:front_end/src/fasta/loader.dart:155:9)
#3      SourceLibraryBuilder.lookupImportCondition
(package:front_end/src/fasta/source/source_library_builder.dart:280:43)
#4      SourceLibraryBuilder.addImport
(package:front_end/src/fasta/source/source_library_builder.dart:303:13)
#5      OutlineBuilder.endImport
(package:front_end/src/fasta/source/outline_builder.dart:234:13)
#6      Parser.parseImport
(package:front_end/src/fasta/parser/parser.dart:667:16)
#7      Parser.parseTopLevelKeywordDeclaration
(package:front_end/src/fasta/parser/parser.dart:590:18)
#8      Parser.parseTopLevelDeclarationImpl
(package:front_end/src/fasta/parser/parser.dart:466:14)
#9      Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:348:15)
#10     SourceLoader.buildOutline
(package:front_end/src/fasta/source/source_loader.dart:271:37)
<asynchronous suspension>
#11     Loader.buildOutlines (package:front_end/src/fasta/loader.dart:198:13)
<asynchronous suspension>
#12     KernelTarget.buildOutlines.<anonymous closure>
(package:front_end/src/fasta/kernel/kernel_target.dart:251:20)
<asynchronous suspension>
#13     withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#14     KernelTarget.buildOutlines
(package:front_end/src/fasta/kernel/kernel_target.dart:249:12)
<asynchronous suspension>
#15     generateKernelInternal.<anonymous closure>
(package:front_end/src/kernel_generator_impl.dart:110:28)
<asynchronous suspension>
#16     withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#17     generateKernelInternal
(package:front_end/src/kernel_generator_impl.dart:58:10)
<asynchronous suspension>
#18     kernelForProgram.<anonymous closure>
(package:front_end/src/api_prototype/kernel_generator.dart:48:28)
<asynchronous suspension>
#19     CompilerContext.runWithOptions.<anonymous closure>
(package:front_end/src/fasta/compiler_context.dart:134:20)
<asynchronous suspension>
#20     CompilerContext.runInContext.<anonymous closure>.<anonymous closure>
(package:front_end/src/fasta/compiler_context.dart:122:46)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CompilerContext.runInContext.<anonymous closure>
(package:front_end/src/fasta/compiler_context.dart:122:19)
#23     _rootRun (dart:async/zone.dart:1124:13)
#24     _CustomZone.run (dart:async/zone.dart:1021:19)
#25     _runZoned (dart:async/zone.dart:1516:10)
#26     runZoned (dart:async/zone.dart:1463:12)
#27     CompilerContext.runInContext
(package:front_end/src/fasta/compiler_context.dart:121:12)
#28     CompilerContext.runWithOptions
(package:front_end/src/fasta/compiler_context.dart:132:10)
#29     kernelForProgram
(package:front_end/src/api_prototype/kernel_generator.dart:47:32)
<asynchronous suspension>
#30     compileToKernel (package:vm/kernel_front_end.dart:309:27)
<asynchronous suspension>
#31     FrontendCompiler.compile.<anonymous closure>
(package:vm/frontend_server.dart:359:56)
#32     new Future.<anonymous closure> (dart:async/future.dart:176:37)
#33     _rootRun (dart:async/zone.dart:1120:38)
#34     _CustomZone.run (dart:async/zone.dart:1021:19)
#35     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#36     _CustomZone.bindCallbackGuarded.<anonymous closure>
(dart:async/zone.dart:963:23)
#37     _rootRun (dart:async/zone.dart:1124:13)
#38     _CustomZone.run (dart:async/zone.dart:1021:19)
#39     _CustomZone.bindCallback.<anonymous closure>
(dart:async/zone.dart:947:23)
#40     Timer._createTimer.<anonymous closure>
(dart:async-patch/timer_patch.dart:21:15)
#41     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
#42     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#43     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:172:12)


#0      internalProblem (package:front_end/src/fasta/problems.dart:45:3)
#1      unhandled (package:front_end/src/fasta/problems.dart:58:10)
#2      Loader.read (package:front_end/src/fasta/loader.dart:155:9)
#3      SourceLibraryBuilder.lookupImportCondition
(package:front_end/src/fasta/source/source_library_builder.dart:280:43)
#4      SourceLibraryBuilder.addImport
(package:front_end/src/fasta/source/source_library_builder.dart:303:13)
#5      OutlineBuilder.endImport
(package:front_end/src/fasta/source/outline_builder.dart:234:13)
#6      Parser.parseImport
(package:front_end/src/fasta/parser/parser.dart:667:16)
#7      Parser.parseTopLevelKeywordDeclaration
(package:front_end/src/fasta/parser/parser.dart:590:18)
#8      Parser.parseTopLevelDeclarationImpl
(package:front_end/src/fasta/parser/parser.dart:466:14)
#9      Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:348:15)
#10     SourceLoader.buildOutline
(package:front_end/src/fasta/source/source_loader.dart:271:37)
<asynchronous suspension>
#11     Loader.buildOutlines (package:front_end/src/fasta/loader.dart:198:13)
<asynchronous suspension>
#12     KernelTarget.buildOutlines.<anonymous closure>
(package:front_end/src/fasta/kernel/kernel_target.dart:251:20)
<asynchronous suspension>
#13     withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#14     KernelTarget.buildOutlines
(package:front_end/src/fasta/kernel/kernel_target.dart:249:12)
<asynchronous suspension>
#15     generateKernelInternal.<anonymous closure>
(package:front_end/src/kernel_generator_impl.dart:110:28)
<asynchronous suspension>
#16     withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#17     generateKernelInternal
(package:front_end/src/kernel_generator_impl.dart:58:10)
<asynchronous suspension>
#18     kernelForProgram.<anonymous closure>
(package:front_end/src/api_prototype/kernel_generator.dart:48:28)
<asynchronous suspension>
#19     CompilerContext.runWithOptions.<anonymous closure>
(package:front_end/src/fasta/compiler_context.dart:134:20)
<asynchronous suspension>
#20     CompilerContext.runInContext.<anonymous closure>.<anonymous closure>
(package:front_end/src/fasta/compiler_context.dart:122:46)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CompilerContext.runInContext.<anonymous closure>
(package:front_end/src/fasta/compiler_context.dart:122:19)
#23     _rootRun (dart:async/zone.dart:1124:13)
#24     _CustomZone.run (dart:async/zone.dart:1021:19)
#25     _runZoned (dart:async/zone.dart:1516:10)
#26     runZoned (dart:async/zone.dart:1463:12)
#27     CompilerContext.runInContext
(package:front_end/src/fasta/compiler_context.dart:121:12)
#28     CompilerContext.runWithOptions
(package:front_end/src/fasta/compiler_context.dart:132:10)
#29     kernelForProgram
(package:front_end/src/api_prototype/kernel_generator.dart:47:32)
<asynchronous suspension>
#30     compileToKernel (package:vm/kernel_front_end.dart:309:27)
<asynchronous suspension>
#31     FrontendCompiler.compile.<anonymous closure>
(package:vm/frontend_server.dart:359:56)
#32     new Future.<anonymous closure> (dart:async/future.dart:176:37)
#33     _rootRun (dart:async/zone.dart:1120:38)
#34     _CustomZone.run (dart:async/zone.dart:1021:19)
#35     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#36     _CustomZone.bindCallbackGuarded.<anonymous closure>
(dart:async/zone.dart:963:23)
#37     _rootRun (dart:async/zone.dart:1124:13)
#38     _CustomZone.run (dart:async/zone.dart:1021:19)
#39     _CustomZone.bindCallback.<anonymous closure>
(dart:async/zone.dart:947:23)
#40     Timer._createTimer.<anonymous closure>
(dart:async-patch/timer_patch.dart:21:15)
#41     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
#42     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#43     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:172:12)


Compiler failed on /Users/carla/Documents/my_app/lib/main.dart
Error launching application on iPhone Xʀ.
```

<!-- If possible, paste the output of running `flutter doctor -v` here. -->
## Flutter doctor

```[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/carla/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.7.4

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.36.1)
    • VS Code at /Users/carla/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.2.0

[✓] Connected device (1 available)
    • iPhone Xʀ • F6EBF7B9-6570-4E1B-BEBC-C0B4A7D1C9F8 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!
```