PictureStream();

2020-10-11  本文已影响0人  WhyLingLei

../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.14.4/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PictureStream();
^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.14.4/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
abstract class PictureStreamCompleter extends Diagnosticable {
^

FAILURE: Build failed with an exception.

Process 'command '**/flutter/bin/flutter'' finished with non-zero exit value 1

解决办法

flutter pub upgrade

上一篇 下一篇

猜你喜欢

热点阅读