robert-luoqing / flutter_list_view

MIT License
47 stars 17 forks source link

exception about lastDetails is DragStartDetails is not true #3

Closed yyong37 closed 2 years ago

yyong37 commented 2 years ago

thanks for your awesome work. when use get some exception:


flutter:   ERROR   ERROR │ ⛔ ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞══════════════════════
flutter:   ERROR   ERROR │ ⛔ The following assertion was thrown during a scheduler callback:
flutter:   ERROR   ERROR │ ⛔ 'package:flutter/src/widgets/scroll_activity.dart': Failed
flutter:   ERROR   ERROR │ ⛔ assertion: line 457 pos 12: 'lastDetails is DragStartDetails': is
flutter:   ERROR   ERROR │ ⛔ not true.

flutter:   ERROR   ERROR │ ⛔ When the exception was thrown, this was the stack:
flutter:   ERROR   ERROR │ ⛔ #2      DragScrollActivity.dispatchScrollStartNotification (package:flutter/src/widgets/scroll_activity.dart:457:12)
flutter:   ERROR   ERROR │ ⛔ #3      ScrollPosition.didStartScroll (package:flutter/src/widgets/scroll_position.dart:895:15)
flutter:   ERROR   ERROR │ ⛔ #4      FlutterListViewElement.notifyPositionChanged.<anonymous closure> (package:flutter_list_view/src/flutter_list_view_element.dart:188:17)
flutter:   ERROR   ERROR │ ⛔ #5      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
flutter:   ERROR   ERROR │ ⛔ #6      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1089:9)
flutter:   ERROR   ERROR │ ⛔ #7      SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:995:5)
flutter:   ERROR   ERROR │ ⛔ #11     _invoke (dart:ui/hooks.dart:151:10)
flutter:   ERROR   ERROR │ ⛔ #12     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
flutter:   ERROR   ERROR │ ⛔ #13     _drawFrame (dart:ui/hooks.dart:115:31)
flutter:   ERROR   ERROR │ ⛔ (elided 5 frames from class _AssertionError and dart:async)
flutter:   ERROR   ERROR │ ⛔ ═════════════════════════════════════════════════════════════════
robert-bitguild commented 2 years ago

@rizzi37 Please update your package to 1.1.2. It will be fixed. Please tell me if the issue still here.