aagarwal1012 / Liquid-Pull-To-Refresh

🔁 A custom refresh indicator for flutter.
https://pub.dev/packages/liquid_pull_to_refresh
MIT License
1.25k stars 92 forks source link

Don't support reverse List ? #9

Closed baantatsu closed 5 years ago

baantatsu commented 5 years ago

Need to implement chat like functionality where last list item stays at the bottom of the screen on initial load and newly loaded items are added on top of that.

aagarwal1012 commented 5 years ago

@lipengda, for doing that you can simply reverse the list before giving input to listview.

valetanddama commented 5 years ago

Doesn't work LiquidPullToRefresh( key: _refreshIndicatorKey, showChildOpacityTransition: false, onRefresh: _handleRefresh, child: ListView.builder( controller: _messageScrollController, reverse: true, ... ), )

displays not reverse list. Without LiquidPullToRefresh all work fine.