-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修复
addEventListener
函数中可能的类型转换错误 (#1703)
08-19 17:11:17.042 22707 24893 I flutter : The following _CastError was thrown during a scheduler callback: 08-19 17:11:17.042 22707 24893 I flutter : type 'List<(String, Map<dynamic, dynamic>) => Future<dynamic>?>' is not a subtype of type 08-19 17:11:17.042 22707 24893 I flutter : 'List<(String, Map<dynamic, dynamic>?) => Future<dynamic>?>' in type cast 08-19 17:11:17.042 22707 24893 I flutter : 08-19 17:11:17.042 22707 24893 I flutter : When the exception was thrown, this was the stack: 08-19 17:11:17.042 22707 24893 I flutter : #0 FlutterBoostAppState.addEventListener (package:flutter_boost/src/flutter_boost_app.dart:653:11) 08-19 17:11:17.042 22707 24893 I flutter : #1 BoostChannel.addEventListener (package:flutter_boost/src/boost_channel.dart:34:23) 08-19 17:11:17.042 22707 24893 I flutter : #2 FlutterBoostAppState._addAppLifecycleStateEventListener (package:flutter_boost/src/flutter_boost_app.dart:119:10) 08-19 17:11:17.042 22707 24893 I flutter : #3 FlutterBoostAppState.initState.<anonymous closure> (package:flutter_boost/src/flutter_boost_app.dart:108:7) 08-19 17:11:17.042 22707 24893 I flutter : #4 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1143:15) 08-19 17:11:17.042 22707 24893 I flutter : #5 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1088:9) 08-19 17:11:17.042 22707 24893 I flutter : #6 PerformanceFlutterBinding.handleDrawFrame (package:high_available/src/api/performance_flutter_binding.dart:29:11) 08-19 17:11:17.042 22707 24893 I flutter : #7 SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:863:7) 08-19 17:11:17.042 22707 24893 I flutter : (elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
- Loading branch information
Showing
16 changed files
with
85 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.