Giter Club home page Giter Club logo

Comments (4)

icemanbsi avatar icemanbsi commented on June 22, 2024 1

I made the EventList class to reduce the looping when rendering the date. So it would be classified by date and easier to process. In the other hand, I add several functions to help when adding or removing the Event to/from the List. and I just reviewed my code and I think I know why you say that the DateTime is redundant. In fact It should not redundant. The EventList DateTime attribute should be limited to Date only ( at 00:00:00 ) and Event DateTime could handle it till the hour, minutes and seconds.
I'll update the Add and Remove function to make it clearer.
I hope my answer would help you to have better understanding about this awesome widget.
Thank You

from flutter_calendar_carousel.

hyochan avatar hyochan commented on June 22, 2024

I hope main author of #25 @icemanbsi could help you out beforehand 🙏

from flutter_calendar_carousel.

angel1st avatar angel1st commented on June 22, 2024

Thanks, @icemanbsi. In fact since Event class is used as a template for EventList I can replace it with my own version which can deliver completely different payload. It is up to developer then how to handle it.
It is very flexible in fact. Thanks for the great work!

I do have one other question though - when I set both minSelectedDate and maxSelectedDate my expectations were that calendar will scroll over the specified time span only. Instead I can scroll past / future months outside the defined span without option to select day. I don't think this is quite user friendly - in fact flutter material date picker works just as it should, i.e. not allowing scroll to past / future months outside the defined time span.
I wounder, considering the great flexibility of this widget, is it possible to match the same behavior?
Thanks!

from flutter_calendar_carousel.

hyochan avatar hyochan commented on June 22, 2024

@angel1st You want this widget to show dates only between minSelectedDate and maxSelectedDate. Am I right? If then, please reopen issue with feature request if possible.

from flutter_calendar_carousel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.