Compiler message:
../../.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.0/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) {
^
../../Programs/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
lib/util/palette_generator.dart:70:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PaletteGenerator.fromColors(this.paletteColors, {this.targets})
^^^^^^^^^^
lib/util/palette_generator.dart:379:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PaletteTarget({
^^^^^^^^^^^^^
lib/util/palette_generator.dart:607:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PaletteColor(this.color, this.population)
^^^^^^^^^^^^
Compiler message:
../../.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.0/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) {
^
../../Programs/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
lib/util/palette_generator.dart:70:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PaletteGenerator.fromColors(this.paletteColors, {this.targets})
^^^^^^^^^^
lib/util/palette_generator.dart:379:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PaletteTarget({
^^^^^^^^^^^^^
lib/util/palette_generator.dart:607:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PaletteColor(this.color, this.population)
^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/jin-imac/Programs/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.
···
Compiler message: ../../.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.0/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) {
^
../../Programs/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load'). ImageStreamCompleter load(T key, DecoderCallback decode);
^
lib/util/palette_generator.dart:70:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PaletteGenerator.fromColors(this.paletteColors, {this.targets})
^^^^^^^^^^
lib/util/palette_generator.dart:379:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PaletteTarget({
^^^^^^^^^^^^^
lib/util/palette_generator.dart:607:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PaletteColor(this.color, this.population)
^^^^^^^^^^^^
Compiler message:
../../.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.0/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) {
^
../../Programs/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load'). ImageStreamCompleter load(T key, DecoderCallback decode);
^
lib/util/palette_generator.dart:70:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PaletteGenerator.fromColors(this.paletteColors, {this.targets})
^^^^^^^^^^
lib/util/palette_generator.dart:379:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PaletteTarget({
^^^^^^^^^^^^^
lib/util/palette_generator.dart:607:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PaletteColor(this.color, this.population)
^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed.
FAILURE: Build failed with an exception.
Where:
Script '/Users/jin-imac/Programs/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 882
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
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 7s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 7.9s Exception: Gradle task assembleDebug failed with exit code 1
···