v1.4.2weekly_date_picker
주간 날짜 선택기로 주간을 스크롤하여 날짜를 선택할 수 있습니다.
87좋아요 34330일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
주간을 스크롤하여 이동할 수 있는 요일 선택기입니다.
{"sdk":"flutter"}^2.0.0^1.1.0{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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