
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
아래화면같이 엄청나게 많은 오류가떠요 ㅠㅠ vscode를 삭제하고 다시 다운받아도 그러네요 ㅜㅜㅠㅜㅜ
모범답안을 복사해서 실행해도 안됩니다 ㅠㅠ

작성한 코드 및 에러 메세지
^^^^^^^^^^^^^^^^^^^
: Error: 'AssetBundleImageKey' isn't a type.
image_resolution.dart:310
result = SynchronousFuture<AssetBundleImageKey>(key);
^^^^^^^^^^^^^^^^^^^
: Error: 'AssetBundleImageKey' isn't a type.
image_resolution.dart:327
completer = Completer<AssetBundleImageKey>();
^^^^^^^^^^^^^^^^^^^
: Error: The method 'AssetBundleImageKey' isn't defined for the class 'AssetImage'.
image_resolution.dart:295
- 'AssetImage' is from 'package:flutter/src/painting/image_resolution.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/painting/image_resolution.dart').
image_resolution.dart:1
Try correcting the name to the name of an existing method, or defining a method named 'AssetBundleImageKey'.
final AssetBundleImageKey key = AssetBundleImageKey(
^^^^^^^^^^^^^^^^^^^
: Error: 'ImageConfiguration' isn't a type.
image_resolution.dart:347
String? _chooseVariant(String main, ImageConfiguration config, List<String>? candidates) {
^^^^^^^^^^^^^^^^^^
: Error: 'ImageConfiguration' isn't a type.
shape_decoration.dart:396
void _paintImage(Canvas canvas, ImageConfiguration configuration) {
^^^^^^^^^^^^^^^^^^
: Error: 'ImageConfiguration' isn't a type.
shape_decoration.dart:411
void paint(Canvas canvas, Offset offset, ImageConfiguration configuration) {
^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
2
FAILURE: Build failed with an exception.
* Where:
Script '/home/tempo/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1157
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/home/tempo/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
Exception: Gradle task assembleDebug failed with exit code 1
