v1.4.2weekly_date_picker
A weekly date picker where you can scroll between weeks and select a date.
87Likes 34330-day downloads160Pub points
AndroidiOSWebmacOSWindowsLinux
A weekday picker where you can scroll between weeks.
{"sdk":"flutter"}^2.0.0^1.1.0{"sdk":"flutter"}English project snapshot. Visit GitHub for the latest content.
A weekday picker where you can scroll between weeks.
https://raw.githubusercontent.com/Magnuti/Weekly-Date-Picker/main/assets/white_with_week.gifTo use this package, add weekly_date_picker as a dependency in your pubspec.yaml file.
WeeklyDatePicker(
selectedDay: _selectedDay, // DateTime
changeDay: (value) => setState(() {
_selectedDay = value;
}),
),
You can use custom colors and labels by the optional parameters:
weekdayText Specifies the weekday text: default is 'Week'weekdays Specifies the weekday strings ['Mon', 'Tue'...]backgroundColor Background colorselectedDigitBackgroundColor Color of the selected day circleselectedDigitBorderColor Color of the border of the selected day circleselectedDigitColor Color of the selected digit textdigitsColor Color of the unselected digits textweekdayTextColor Is the color of the weekdays 'Mon', 'Tue'...enableWeeknumberText Set to false to hide the weeknumber textfield to the left of the sliderweeknumberColor Color of the weekday containerweeknumberTextColor Color of the weekday textdaysInWeek Specifies the number of weekdays to render, default is 7, so Monday to Sunday