Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
Agenda
const Agenda({
super.key,
required this.events,
this.selectedDate,
this.firstDayOfWeek,
this.currentTime,
this.splitController,
this.initialView = AgendaView.day,
this.height = 680,
this.dayStartHour = 0,
this.dayEndHour = 24,
this.initialScrollHour = 9,
this.hourHeight = 60,
this.snapMinutes = 15,
this.resizeSnapMinutes = 5,
this.minDurationMinutes = 5,
this.onDateChanged,
this.onViewChanged,
this.onEventChanged,
this.onEventSelected,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
events | List<AgendaEvent> | Yes | — |
selectedDate | DateTime? | No | null |
firstDayOfWeek | int? | No | null |
currentTime | DateTime? | No | null |
splitController | SplitViewController? | No | null |
initialView | AgendaView | No | AgendaView.day |
height | double | No | 680 |
dayStartHour | int | No | 0 |
dayEndHour | int | No | 24 |
initialScrollHour | double | No | 9 |
hourHeight | double | No | 60 |
snapMinutes | int | No | 15 |
resizeSnapMinutes | int | No | 5 |
minDurationMinutes | int | No | 5 |
onDateChanged | ValueChanged<DateTime>? | No | null |
onViewChanged | ValueChanged<AgendaView>? | No | null |
onEventChanged | ValueChanged<AgendaEvent>? | No | null |
onEventSelected | ValueChanged<AgendaEvent>? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/date_time/agenda/agenda.dart
This reference is generated from the Agenda declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

