Flutter pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:164:13: Error: Method not found: ‘descr

5841 단어
최고 버전의 pull_ 도입to_refresh1.6.0을 컴파일할 수 없습니다.jar 패키지의sliver를 알립니다.dart 클래스에 여러 가지 방법이 부족합니다.
오류 메시지:
Compiler message:
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:164:13: Error: Method not found: 'describeForError'.
      yield describeForError(
            ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:170:11: Error: Method not found: 'ErrorSummary'.
          ErrorSummary(
          ^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:172:11: Error: Method not found: 'describeForError'.
          describeForError(
          ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:175:11: Error: Method not found: 'ErrorDescription'.
          ErrorDescription(
          ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:169:28: Error: Method not found: 'FlutterError.fromParts'.
        throw FlutterError.fromParts([
                           ^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:164:13: Error: The method 'describeForError' isn't defined for the class 'RenderSliverRefresh'.
 - 'RenderSliverRefresh' is from 'package:pull_to_refresh/src/internals/slivers.dart' ('file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart').
Try correcting the name to the name of an existing method, or defining a method named 'describeForError'.
      yield describeForError(
            ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:163:62: Error: The argument type 'Iterable Function()' can't be assigned to the parameter type 'void Function(StringBuffer)'.
 - 'Iterable' is from 'dart:core'.
 - 'StringBuffer' is from 'dart:core'.
Try changing the type of the parameter, or casting the argument to 'void Function(StringBuffer)'.
    assert(geometry.debugAssertIsValid(informationCollector: () sync* {
                                                             ^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:170:11: Error: The method 'ErrorSummary' isn't defined for the class 'RenderSliverRefresh'.
 - 'RenderSliverRefresh' is from 'package:pull_to_refresh/src/internals/slivers.dart' ('file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ErrorSummary'.
          ErrorSummary(
          ^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:172:11: Error: The method 'describeForError' isn't defined for the class 'RenderSliverRefresh'.
 - 'RenderSliverRefresh' is from 'package:pull_to_refresh/src/internals/slivers.dart' ('file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart').
Try correcting the name to the name of an existing method, or defining a method named 'describeForError'.
          describeForError(
          ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:175:11: Error: The method 'ErrorDescription' isn't defined for the class 'RenderSliverRefresh'.
 - 'RenderSliverRefresh' is from 'package:pull_to_refresh/src/internals/slivers.dart' ('file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ErrorDescription'.
          ErrorDescription(
          ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:430:13: Error: Method not found: 'describeForError'.
      yield describeForError(
            ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:436:11: Error: Method not found: 'ErrorSummary'.
          ErrorSummary(
          ^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:438:11: Error: Method not found: 'describeForError'.
          describeForError(
          ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:441:11: Error: Method not found: 'ErrorDescription'.
          ErrorDescription(
          ^^^^^^^^^^^^^^^^
file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.6.0/lib/src/internals/slivers.dart:435:28: Error: Method not found: 'FlutterError.fromParts'.
        throw FlutterError.fromParts([

여러 가지 방법으로 1.6.0을 성공적으로 인용하지 못했습니다. 낮은 버전을 인용하는 중 오류가 발생했습니다. Target of URI doesn't exist'package:pull_to_refresh/pull_to_refresh.dart'이제 항목을 수정합니다.packages 파일의pull_to_refresh-1.6.0은 낮은 버전입니다.
pull_to_refresh:file:///Users/hyf/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.5.7/lib/

좋은 웹페이지 즐겨찾기