Compiler message:
lib/pages/detail/DetailPage.dart:37:38: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
_refreshController.requestRefresh(true);
^
lib/pages/detail/DetailPage.dart:62:37: Error: Method not found: 'RefreshConfig'.
footerConfig: new RefreshConfig(),
^^^^^^^^^^^^^
lib/pages/detail/DetailPage.dart:60:19: Error: No named parameter with the name 'headerBuilder'.
headerBuilder: buildDefaultHeader,
^^^^^^^^^^^^^
file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart:49:3: Context: Found this candidate, but the arguments don't match.
SmartRefresher(
^
lib/pages/detail/DetailPage.dart:112:28: Error: The method 'sendBack' isn't defined for the class 'RefreshController'.
'RefreshController' is from 'package:pull_to_refresh/src/smart_refresher.dart' ('file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart').
Try correcting the name to the name of an existing method, or defining a method named 'sendBack'.
_refreshController.sendBack(false, RefreshStatus.idle);
^^^^^^^^
lib/pages/detail/DetailPage.dart:114:28: Error: The method 'sendBack' isn't defined for the class 'RefreshController'.
'RefreshController' is from 'package:pull_to_refresh/src/smart_refresher.dart' ('file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart').
Try correcting the name to the name of an existing method, or defining a method named 'sendBack'.
_refreshController.sendBack(true, RefreshStatus.completed);
^^^^^^^^
lib/pages/detail/DetailPage.dart:118:26: Error: The method 'sendBack' isn't defined for the class 'RefreshController'.
'RefreshController' is from 'package:pull_to_refresh/src/smart_refresher.dart' ('file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart').
Try correcting the name to the name of an existing method, or defining a method named 'sendBack'.
_refreshController.sendBack(true, RefreshStatus.failed);
^^^^^^^^
lib/utils/IndicatorUtils.dart:8:16: Error: Method not found: 'ClassicIndicator'.
return new ClassicIndicator(
^^^^^^^^^^^^^^^^
lib/utils/IndicatorUtils.dart:9:7: Error: No named parameter with the name 'failedText'.
failedText: '刷新失败!',
^^^^^^^^^^
lib/utils/IndicatorUtils.dart:34:20: Error: Method not found: 'ClassicIndicator'.
child: new ClassicIndicator(
^^^^^^^^^^^^^^^^
lib/utils/IndicatorUtils.dart:55:18: Error: Method not found: 'ClassicIndicator'.
return new ClassicIndicator(
^^^^^^^^^^^^^^^^
lib/utils/IndicatorUtils.dart:35:11: Error: No named parameter with the name 'mode'.
mode: mode,
^^^^
lib/utils/IndicatorUtils.dart:56:11: Error: No named parameter with the name 'mode'.
mode: mode,
^^^^
lib/pages/history/HistoryDetailPage.dart:49:11: Error: No named parameter with the name 'headerBuilder'.
headerBuilder: buildDefaultHeader,
^^^^^^^^^^^^^
file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart:49:3: Context: Found this candidate, but the arguments don't match.
SmartRefresher(
^
lib/pages/history/HistoryDetailPage.dart:77:26: Error: The method 'sendBack' isn't defined for the class 'RefreshController'.
'RefreshController' is from 'package:pull_to_refresh/src/smart_refresher.dart' ('file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart').
Try correcting the name to the name of an existing method, or defining a method named 'sendBack'.
_refreshController.sendBack(
^^^^^^^^
lib/pages/search/SearchListPage.dart:42:38: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
_refreshController.requestRefresh(true);
^
lib/pages/search/SearchListPage.dart:75:35: Error: Method not found: 'RefreshConfig'.
footerConfig: new RefreshConfig(),
^^^^^^^^^^^^^
lib/pages/search/SearchListPage.dart:73:17: Error: No named parameter with the name 'headerBuilder'.
headerBuilder: buildDefaultHeader,
^^^^^^^^^^^^^
file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart:49:3: Context: Found this candidate, but the arguments don't match.
SmartRefresher(
^
lib/pages/search/SearchListPage.dart:157:26: Error: The method 'sendBack' isn't defined for the class 'RefreshController'.
'RefreshController' is from 'package:pull_to_refresh/src/smart_refresher.dart' ('file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart').
Try correcting the name to the name of an existing method, or defining a method named 'sendBack'.
_refreshController.sendBack(false, RefreshStatus.idle);
^^^^^^^^
lib/pages/search/SearchListPage.dart:159:26: Error: The method 'sendBack' isn't defined for the class 'RefreshController'.
'RefreshController' is from 'package:pull_to_refresh/src/smart_refresher.dart' ('file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart').
Try correcting the name to the name of an existing method, or defining a method named 'sendBack'.
_refreshController.sendBack(true, RefreshStatus.completed);
^^^^^^^^
Compiler failed on /Users/mac/flutter_prj/GankFlutter-master/lib/main.dart
Error launching application on iPhone XR.
Compiler message: lib/pages/detail/DetailPage.dart:37:38: Error: Too many positional arguments: 0 allowed, but 1 found. Try removing the extra positional arguments. _refreshController.requestRefresh(true); ^ lib/pages/detail/DetailPage.dart:62:37: Error: Method not found: 'RefreshConfig'. footerConfig: new RefreshConfig(), ^^^^^^^^^^^^^ lib/pages/detail/DetailPage.dart:60:19: Error: No named parameter with the name 'headerBuilder'. headerBuilder: buildDefaultHeader, ^^^^^^^^^^^^^ file:///Users/mac/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-1.3.3/lib/src/smart_refresher.dart:49:3: Context: Found this candidate, but the arguments don't match. SmartRefresher( ^ lib/pages/detail/DetailPage.dart:112:28: Error: The method 'sendBack' isn't defined for the class 'RefreshController'.