-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Milestone
Description
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Exception: A PagingController was used after being disposed.
Once you have called dispose() on a PagingController, it can no longer be used.
If you’re using a Future, it probably completed after the disposal of the owning widget.
Make sure dispose() has not been called yet before using the PagingController.
#0 PagingController._debugAssertNotDisposed.<anonymous closure> (package:infinite_scroll_pagination/src/core/paging_controller.dart:133:9)
#1 PagingController._debugAssertNotDisposed (package:infinite_scroll_pagination/src/core/paging_controller.dart:142:6)
#2 PagingController.notifyStatusListeners (package:infinite_scroll_pagination/src/core/paging_controller.dart:168:12)
#3 PagingController.value= (package:infinite_scroll_pagination/src/core/paging_controller.dart:94:7)
#4 PagingController.error= (package:infinite_scroll_pagination/src/core/paging_controller.dart:69:5)
#5 _NewsScreenState._han<…>
Metadata
Metadata
Assignees
Labels
No labels