Compiler message:
    /D:/Program%20Files/Dart/Flutter/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.3/lib/src/cached_network_image_provider.dart:42:24: Error: The method ‘CachedNetworkImageProvider.load’ has fewer positional arguments than those of overridden method ‘ImageProvider.load’.
    ImageStreamCompleter load(CachedNetworkImageProvider key) {
    ^
    /D:/Program%20Files/Dart/Flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method (‘load’).
    ImageStreamCompleter load(T key, DecoderCallback decode);
    ^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    build failed.
    FAILURE: Build failed with an exception.
    Where:
    Script ‘D:\Program Files\Dart\Flutter\packages\flutter_tools\gradle\flutter.gradle’ line: 783
    What went wrong:
    Execution failed for task ‘:app:compileFlutterBuildDebug’.
    > Process ‘command ‘D:\Program Files\Dart\Flutter\bin\flutter.bat’’ 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 3m 59s
    Gradle task assembleDebug failed with exit code 1
    Exited (sigterm)

    解决方案:
    在 pubspec.yaml 中升级 cached_network_image 到 cached_network_image: 2.0.0-rc.1。