mytooyo / board_datetime_picker

Picker to select date and time for Flutter. It is both a calendar and a picker, offering a variety of options as a package.
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Board datetime picker as classic widget #4

Closed matteoberla closed 8 months ago

matteoberla commented 8 months ago

The BoardDatetimePickerBuilder is hard to be integrated into an existing page, it needs to be wrapped around the entire page, furthermore if i have many datepickers it's not that immediate to use as i need to map which picker was selected and then get the value and assign to that selected picker.

Wouldn't a classic widget be easier to use? For example a button that when pressed opens a modal bottom sheet with the calendar/pickers and a callback function that returns the value selected as other packages do, that can be found on pub.dev

mytooyo commented 8 months ago

Thank you very much. You are right, it would be useful to have a use like a modal bottom sheet. I will consider implementing it.

mytooyo commented 8 months ago

@matteoberla I have added the ability to display the picker in bottom_moda_sheet in version 1.2.0.

Best regards.

matteoberla commented 8 months ago

Thank you very much, I’ll test it on Monday.

Il giorno sab 28 ott 2023 alle 08:33 mytooyo @.***> ha scritto:

@matteoberla https://github.com/matteoberla I have added the ability to display the picker in bottom_moda_sheet in version 1.2.0.

Best regards.

— Reply to this email directly, view it on GitHub https://github.com/mytooyo/board_datetime_picker/issues/4#issuecomment-1783721933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQP6TTUDWNHEIQT5FMXZQGTYBSRNLAVCNFSM6AAAAAA6S37SCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTG4ZDCOJTGM . You are receiving this because you were mentioned.Message ID: @.***>