robert-luoqing/flutter_list_view

我有一个问题listview在快速滚动时异常 I have a problem that the listview is abnormal when scrolling quickly

Closed this issue · 0 comments

er: │ 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2535 pos 20: '_debugCurrentBuildTarget == context': is not true.
flutter: │
flutter: │ #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:47:61)
flutter: │ #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
flutter: │ #2 BuildOwner.buildScope. (package:flutter/src/widgets/framework.dart:2535:20)
flutter: │ #3 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2539:12)
flutter: │ #4 FlutterListViewElement.updateChild (package:flutter_list_view/src/flutter_list_view_element.dart:605:12)
flutter: │ #5 FlutterListViewElement._createOrReuseElement (package:flutter_list_view/src/flutter_list_view_element.dart:525:7)
flutter: │ #6 FlutterListViewElement.constructNextElement (package:flutter_list_view/src/flutter_list_view_element.dart:566:18)
flutter: │ #7 FlutterListViewRender.performLayout. (package:flutter_list_view/src/flutter_list_view_render.dart:206:34)
flutter: │ #8 RenderObject.invokeLayoutCallback. (package:flutter/src/rendering/object.dart:1962:59)
flutter: │ #9 PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:910:15)
flutter: │ #10 RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:1962:14)
flutter: │ #11 FlutterListViewRender.performLayout (package:flutter_list_view/src/flutter_list_view_render.dart:205:7)
flutter: │ #12 RenderObject.layout (package:flutter/src/rendering/object.dart:1852:7)
flutter: │ #13 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:510:13)
flutter: │ #14 RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1580:12)
flutter: │ #15 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1489:20)
flutter: │ #16 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1707:7)
flutter: │ #17 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:879:18)
flutter: │ #18 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:497:19)
flutter: │ #19 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:883:13)
flutter: │ #20 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
flutter: │ #21 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1145:15)
flutter: │ #22 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
flutter: │ #23 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:996:5)
flutter: │ #24 _rootRun (dart:async/zone.dart:1428:13)
flutter: │ #25 _CustomZone.run (dart:async/zone.dart:1328:19)
flutter: │ #26 _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
flutter: │ #27 _invoke (dart:ui/hooks.dart:150:10)
flutter: │ #28 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:270:5)
flutter: │ #29 _drawFrame (dart:ui/hooks.dart:114:31)