CompileError: Cannot find import 'package:flutter/cupertino.dart'
CompileError: Cannot find import 'package:flutter/cupertino.dart' (while parsing 'package:kk/basic/common/cupertino_localizations_delegate.dart') at unknown
Same issue.
Full log
dart_eval compile -o version_xxx.evc Loading files... Found binding file: .dart_eval/bindings/flutter_eval.json Adding packages from package config: _fe_analyzer_shared analyzer args async boolean_selector change_case characters checked_yaml clock collection convert crypto dart_eval dart_style directed_graph eval_annotation exception_templates fake_async ffi file flutter_lints glob http http_parser json_annotation lazy_memo leak_tracker leak_tracker_flutter_testing leak_tracker_testing lints matcher material_color_utilities meta package_config path path_provider path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows platform plugin_platform_interface process pub_semver pubspec_parse quote_buffer source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math vm_service watcher web webdriver xdg_directories yaml sky_engine flutter_driver flutter_test fuchsia_remote_debug_protocol integration_test flutter_eval Skipped package flutter because it is bridged.
Compiling package example...
Parsing warning: Doc directive 'nodoc' is unknown.
Unhandled exception:
CompileError: Cannot find import 'package:flutter/cupertino.dart' (while parsing 'package:flutter_eval/src/widgets/icon.dart') at unknown
#0 _resolveImportsAndExports.