TatsuUkraine / flutter_sticky_infinite_list

Multi directional infinite list with Sticky headers for Flutter applications
BSD 2-Clause "Simplified" License
341 stars 31 forks source link

Esay fix : Physics attributes ! #22

Closed EArminjon closed 4 years ago

EArminjon commented 4 years ago

Hi,

Please allow developpers to use a customized value for the CustomScrollView 'physics' (Ligne 250 widget.dart) :

Widget build(BuildContext context) => CustomScrollView(
    physics: AlwaysScrollableScrollPhysics(),
    controller: widget.controller,
    center: widget._centerKey,
    slivers: _slivers,
    reverse: widget.reverse,
    anchor: widget.anchor,
    cacheExtent: widget.cacheExtent,
    scrollDirection: widget.scrollDirection,
  );

In my case I should always be able to scroll my view. With that, user can scroll to refresh the data :) !

TatsuUkraine commented 4 years ago

will do)

EArminjon commented 4 years ago

Do you want a pull request ?

TatsuUkraine commented 4 years ago

not necessary) I will try to publish a new version when I get time, it will be in a few hours

TatsuUkraine commented 4 years ago

@EArminjon changes are in 1.3.0