Closed kamami closed 5 years ago
postImagesWidget()
is a FutureBuilder, but LiquidPullToRefresh's child:
needs to be a ScrollView. Maybe have the FutureBuilder return a LiquidPullToRefresh that directly wraps your ListViewBuilder when you have data and returns the CircularProgressIndicator otherwise?
@Taormina works perfectly fine!
Thanks, @Taormina for solving this issue. Now, I am closing this issue. Feel free to reopen if any problems arise.
I am trying to implement LiquidPullToRefresh as follows:
But I get following error in the console:
The "normal" RefreshIndicator is working fine with the same code.
Here is my postImagesWidget: