molteo-engineering-team / awesome_calendar

An easy-to-use and customizable calendar for Flutter. It allows single, multi, and range selection
https://pub.dev/packages/awesome_calendar
MIT License
13 stars 12 forks source link

[Question] First and Last Date? #2

Closed ethel39 closed 2 years ago

ethel39 commented 2 years ago

Hello, is there a way to put first and last date range where we can pick with multiple date picker?

Thank you

SebastienBtr commented 2 years ago

Hello @ethel39,

I'm not sure to understand your question and what you mean by picking with multiple date pickers. There is a startDate and endDate on the calendar:

/// First date of the calendar
  final DateTime? startDate;

  /// Last date of the calendar
  final DateTime? endDate;

But I guess this is not what you’re looking for, maybe you can try to explain a bit more what you're trying to achieve :)

ethel39 commented 2 years ago

ah sorry, i mean for AwesomeCalendarDialog there's no startdate and enddate parameter there

SebastienBtr commented 2 years ago

ah yes, you’re right, it's just hardcoded values, I'll add the fields!

SebastienBtr commented 2 years ago

Fixed on version 1.1.3 by https://github.com/molteo-engineering-team/awesome_calendar/commit/067b44e0c5161d14e8f61308e68ed898fedbfa1a