iamvivekkaushik / DatePickerTimelineFlutter

Flutter Date Picker Library that provides a calendar as a horizontal timeline
Apache License 2.0
283 stars 198 forks source link

Making the ListView Scrollable to the Right *and* to the Left #12

Closed psygo closed 4 years ago

psygo commented 4 years ago

Apparently, you can scrolll to the left by simply replacing ListView by InfiniteListView (Issue #10), which comes from another package called infinite_listview.

I think you will need to add the infinite_listview to the pubspec.yaml file (PR #13), but I'm not sure — I'm not experienced with putting packages inside packages.

I would suggest testing if this does fill all of the requirements. Perhaps putting it into another branch might be more appropriate.

hinterlandcreative commented 4 years ago

Can this get merged in please?

iamvivekkaushik commented 4 years ago

This feature is now added to the library in the latest version.

psygo commented 4 years ago

Did you merge this separately?

iamvivekkaushik commented 4 years ago

No, I added the functionality myself along with other features.

psygo commented 4 years ago

Ok, could you summarize exactly what you did in order to get it done without the infinite_listview package?

iamvivekkaushik commented 4 years ago

I just added a start date option, now instead of starting from. selection date timeline can potentially start from any date from the past. I also added a separate option for initial selection. You can read the code if you wanna know more.

psygo commented 4 years ago

That doesn't sound like exactly the same as the infinite_listview package, but ok, I guess.