搜索插件、代码仓与 APP 分类

GitHub 代码仓sud0su/calendar_agenda

日历议程

sud0su/calendar_agenda open-source repository details.

日历议程 项目封面
星标
12
复刻
16
最近推送(UTC)
2023年7月27日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Calendar agenda widget with a lot of customizable styles.

Pub Package License: MIT

Getting Started

  1. Depend on it Add it to your package's pubspec.yaml file
dependencies:
  flutter:
    sdk: flutter
  calendar_agenda: version
  1. Install it Install packages from the command line
flutter pub get
  1. Import it Import it to your project
import 'package:calendar_agenda/calendar_agenda.dart';
SelectedDayPosition.center SelectedDayPosition.Left SelectedDayPosition.Right
FullCalendarScroll.vertical FullCalendarScroll.horizontal
Demo

How to use?

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

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

Thank you

Special thanks goes to all contributors to this package. Make sure to check them out.

Donate

You like the package ? Buy me a coffee :)

buymeacoffe buymeacoffe
Razinal Rahmat GitHub avatar
GitHub 作者

Razinal Rahmat ↗

语言DartSwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 4 项

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗