Calendar topic

The Calendar functionality is one of the core features of the AEGEE-Leiden App. It shows activities that are being organized in an appealing but informative way. Each activity can be represented in two ways: as an ActivityTile, which consists of a banner image with an overlay containing some key info, and as an ActivityPage, which gives the full details as well as the option to participate in the event. The ActivityTiles can be viewed in two different ways: either with the TableCalendarView showing a table with dates, or with the ListCalendarView, showing all upcoming activities as one big list. The data is taken care of with the CalendarModel.

Functionality

The Calendar is used for:

  • Displaying Activities: Shows activities in an appealing and informative way.
  • Activity Representation: Each activity can be represented as an ActivityTile or an ActivityPage.
  • View Options: Activities can be viewed with the TableCalendarView or the ListCalendarView.

Classes

ActivityTile Calendar
A Card-like widget showing a styled banner and an EventInfoRow.
ActivityTileList Calendar
A ListView containing ActivityTiles for either the selected day (in case of TableCalendarView) or all loaded activities (in case of ListCalendarView)
Calendar Calendar
The main Calendar page.
CalendarFilter Calendar
CalendarViewSelectionBar Calendar
The bar on top of Calendars views, containing toggle buttons and filter chips.
ListCalendarView Calendar
The view of Calendar showing a list of all loaded activities.
TableCalendarView Calendar
The view of Calendar showing a table with dates.
TableCalendarWithBuilders Calendar
The table used in TableCalendarView and relevant builders and styling.

Properties

calendarProvider ChangeNotifierProvider<CalendarModel> Calendar
The model for the calendar.
final

Functions

getOlderActivitiesButton(WidgetRef ref) Container Calendar
The button on top of ListCalendarView that calls the CalendarModel.getOlderActivities method.