jdongkhan / flutter_tracker_widget Goto Github PK
View Code? Open in Web Editor NEW这是一个支持滚动播放和合理曝光的flutter组件
License: BSD 3-Clause "New" or "Revised" License
这是一个支持滚动播放和合理曝光的flutter组件
License: BSD 3-Clause "New" or "Revised" License
Hello there. I've found this amazing project when looking for an alternative to inview_notifier_list (it doesn't support ListView.builder) and It was working as expected but when I try to scroll up so fast it gives me this error.
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Cannot get renderObject of inactive element.
In order for an element to have a valid renderObject, it must be active, which means it is part of the tree.
Instead, this element is in the _ElementLifecycle.defunct state.
If you called this method from a State object, consider guarding it with State.mounted.
The findRenderObject() method was called for the following element:
StatefulElement#081b1(DEFUNCT)
#0 Element.findRenderObject.<anonymous closure>
package:flutter/…/widgets/framework.dart:4006
#1 Element.findRenderObject
package:flutter/…/widgets/framework.dart:4019
#2 TrackerState._handleFirstRender
package:flutter_tracker_widget/src/tracker_state.dart:68
<asynchronous suspension>
Is this project still maintained? and if so, is there a fix to this issue?
In inview_notifier_list the same error would happen if I tried to scroll too fast but it looks like it was solved with this commit.
I don't know if the commit above is relevant, but I hope it gives an idea about how to solve this issue.
Thank you for your incredible work and Good Luck.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.