Week Date Picker
A calendar picker with support for single date picker also you can scroll between weeks.
Installing
To use this package, add week_date_picker as a dependency in your pubspec.yaml file.
Usage
WeekDatePickerView(
changeDay: (value) => setState(() {
_selectedDay = value;
}),
selectedDay: _selectedDay,
config: WeekDataPickerConfig(
enableWeekNumberText: true,
enableMonthText: true,
weekDayType: WeekDayType.TYPE_3,
weekPosition: WeekPosition.LEFT,
weekDayCapitalize: true,
),
),
How to use custom styling
You can use custom colors and labels by the optional parameters:
configSpecifies the WeekDataPickerConfig and set configuration of the WeekDatePickerViewselectedDaySet the DateTime with current selected datechangeDayCallback function with the new selected date