-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving a list of widgets throws findRenderObject was called on null exception. #32
Comments
same +1 |
Screenshot( wrapp your widget with Screenshot() |
@tehsunnliu how exactly do you need? do you want to take a screenshot of the entire list at once like this? or |
Hi, I wanted to capture individual elements in the listview, I wrapped ewach element in the listview with Screenshot widget but it doesn't work. I get same error as mentioned earlier. |
created list view like this :
and i wrapped each item with screenshot with different controller each time , actually i take one var in list and assigned controller to it if its null so this way every item has its different controller and while i am trying to capture it it gives me error like above the same way i did this in different page and working file i couldn't find any difference in it , in my list there are too many items so i can't put columns there. |
any updates ? @SachinGanesh |
Had the same problem, I guess the easiest way is replacing the |
I have a list of items in
ListView(), not ListView.builder(). And in the ListView each child is wrapped with Screenshot widget.
When the ListView is built I store the Screenshot controller for each widget in a list.
When trying to capture only the first widget gets captured and then I get this exception
The text was updated successfully, but these errors were encountered: