v0.0.2+3calendar_agenda
多数のカスタマイズ可能なスタイルを持つカレンダーアジェンダウィジェットで、アプリバーとして使用することもできます。
57いいね 3430日間ダウンロード130Pub ポイント
AndroidiOSWebmacOSWindowsLinux
sud0su/calendar_agenda open-source repository details.
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Calendar agenda widget with a lot of customizable styles.
dependencies:
flutter:
sdk: flutter
calendar_agenda: version
flutter pub get
import 'package:calendar_agenda/calendar_agenda.dart';
| SelectedDayPosition.center | SelectedDayPosition.Left | SelectedDayPosition.Right |
|---|---|---|
![]() |
![]() |
![]() |
| FullCalendarScroll.vertical | FullCalendarScroll.horizontal |
|---|---|
![]() |
![]() |
Use the CalendarAgenda Widget
CalendarAgenda(
initialDate: DateTime.now(),
firstDate: DateTime.now().subtract(Duration(days: 140)),
lastDate: DateTime.now().add(Duration(days: 4)),
onDateSelected: (date) {
print(date);
},
)
| Props | Types | Required | defaultValues |
|---|---|---|---|
| initialDate | DateTime | True | |
| firstDate | DateTime | True | |
| lastDate | DateTime | True | |
| onDateSelected | Funtion | False | |
| backgroundColor | Color? | False | |
| selectedDayLogo | ImageProvider<Object>? | False | |
| controller | CalendarAgendaController? | False | |
| selectedDateColor | Color? | False | Colors.black |
| dateColor | Color? | False | Colors.white |
| calendarBackground | Color? | False | Colors.white |
| calendarEventSelectedColor | Color? | False | Colors.white |
| calendarEventColor | Color? | False | Colors.blue |
| locale | String? | False | 'en' |
| leading | Widget? | False | |
| appbar | bool | False | False |
| events | List<DateTime>? | False | |
| fullCalendar | bool | False | True |
| fullCalendarScroll | FullCalendarScroll | False | FullCalendarScroll.vertical |
| fullCalendarDay | WeekDay | False | WeekDay.short |
| weekDay | WeekDay | False | WeekDay.short |
| selectedDayPosition | SelectedDayPosition | False | SelectedDayPosition.left |
Special thanks goes to all contributors to this package. Make sure to check them out.
You like the package ? Buy me a coffee :)
依存関係一覧 4 件
{"sdk":"flutter"}^0.18.0^0.3.2{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗