aagarwal1012/Liquid-Pull-To-Refresh

Use with SingleChildScrollView

jinyus opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
I have multiple ScrollViews nested in a SingleChildScrollView widget and I would like to update a nested list on pull to refresh.

I get this error when try to wrap the liquid pull to refresh around the SingleChildScrollView.

The argument type 'SingleChildScrollView' can't be assigned to the parameter type 'ScrollView'.

Describe the solution you'd like
It'd be great if you allowed a SingleChildScrollView to be a child of this widget because it can scroll. This would mean making the child named parameter be of type Widget instead of ScrollView like the built in RefreshIndicator.