mu-dawood / ready

32 stars 9 forks source link

Paging function is invalid when clicked #13

Open jijkbird opened 1 year ago

jijkbird commented 1 year ago

══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════ The following assertion was thrown while handling a gesture: A ScrollController was used after being disposed. Once you have called dispose() on a ScrollController, it can no longer be used. When the exception was thrown, this was the stack: dart-sdk/lib/_internal/js_dev_runtime/private/ddcruntime/errors.dart 266:49 throw packages/flutter/src/foundation/change_notifier.dart 157:9 packages/flutter/src/foundation/change_notifier.dart 163:14 debugAssertNotDisposed packages/flutter/src/foundation/change_notifier.dart 323:27 dispose packages/flutter/src/widgets/scroll_controller.dart 201:11 dispose packages/ready/src/responsive_data_table/custom_data_table.dart 219:24 pageTo packages/ready/src/responsive_data_table/custom_data_table.dart 288:5 [_handleNext] packages/flutter/src/material/ink_well.dart 1096:21 handleTap packages/flutter/src/gestures/recognizer.dart 253:24 invokeCallback packages/flutter/src/gestures/tap.dart 627:11 handleTapUp packages/flutter/src/gestures/tap.dart 306:5 [_checkUp] packages/flutter/src/gestures/tap.dart 276:7 acceptGesture packages/flutter/src/gestures/arena.dart 163:12 sweep packages/flutter/src/gestures/binding.dart 464:20 handleEvent packages/flutter/src/gestures/binding.dart 440:14 dispatchEvent packages/flutter/src/rendering/binding.dart 336:11 dispatchEvent packages/flutter/src/gestures/binding.dart 395:7 [_handlePointerEventImmediately] packages/flutter/src/gestures/binding.dart 357:5 handlePointerEvent packages/flutter/src/gestures/binding.dart 314:7 [_flushPointerEventQueue] packages/flutter/src/gestures/binding.dart 295:7 [_handlePointerDataPacket] lib/_engine/engine/platform_dispatcher.dart 1183:13 invoke1 lib/_engine/engine/platform_dispatcher.dart 243:5 invokeOnPointerDataPacket lib/_engine/engine/pointer_binding.dart 156:39 [_onPointerData] lib/_engine/engine/pointer_binding.dart 689:20 lib/_engine/engine/pointer_binding.dart 620:14 lib/_engine/engine/pointer_binding.dart 303:16 loggedHandler lib/_engine/engine/pointer_binding.dart 188:80 dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 367:37 _checkAndCall dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 372:39 dcall Handler: "onTap" Recognizer: TapGestureRecognizer#375d9 ════════════════════════════════════════════════════════════════════════════════════════════════════

jijkbird commented 1 year ago

and this,Another exception was thrown: A ScrollController was used after being disposed.