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