v1.4.2weekly_date_picker
Um seletor de data semanal no qual você pode rolar entre semanas e selecionar uma data.
87Curtidas 343Downloads em 30 dias160Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Um seletor de dias da semana onde é possível rolar entre as semanas.
{"sdk":"flutter"}^2.0.0^1.1.0{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
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