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

calendar_agenda 封面
插件详情v0.0.2+3

calendar_agenda

具有多种可自定义样式的日历议程小部件,也可用作应用栏小部件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
34
喜欢数
57
Pub 分数
130

安装插件

flutter pub add calendar_agenda

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个高度可定制的Flutter日历待办事项小部件,提供灵活的样式选项,并支持作为应用栏集成。它支持Android、iOS、Web、macOS、Windows和Linux等多个平台。专为寻求简洁、交互式日历界面并具备广泛视觉自定义功能的开发者设计,可无缝集成到现有应用布局中。该小部件非常适合用于日程安排应用、任务管理器或任何需要动态基于日期视图的应用。

适合场景

  • 调度应用程序
  • 任务管理接口
  • 活动策划工具
  • 每日计划功能
  • 自定义应用栏日历

主要特点

  • 广泛的样式自定义
  • 应用栏集成
  • 多平台支持
  • 交互式日期选择
  • 灵活的布局选项

适合对象

  • 开发日历密集型应用的开发者
  • 需要视觉灵活性的设计人员
  • 需要集成日期视图的应用程序

使用建议

  • 需要理解Flutter组件
  • 可能需要额外的状态管理
  • 除了基本用法外,文档有限

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目

暂无相关数据。