1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix appearance issues

This commit is contained in:
Pierre HUBERT 2021-05-29 15:48:51 +02:00
parent 0b4306990a
commit fa8c1f46a1

View File

@ -46,10 +46,19 @@ class _PresenceCalendarWidgetState extends State<PresenceCalendarWidget> {
locale: "fr_FR", locale: "fr_FR",
weekendDays: [], weekendDays: [],
onHeaderTapped: _pickDate, onHeaderTapped: _pickDate,
calendarBuilders: CalendarBuilders(defaultBuilder: _dayBuilder), calendarBuilders: CalendarBuilders(
defaultBuilder: _dayBuilder,
todayBuilder: _dayBuilder,
selectedBuilder: _dayBuilder,
),
onDaySelected: _selectedDay, onDaySelected: _selectedDay,
availableCalendarFormats: const {CalendarFormat.month: "Mois"}, availableCalendarFormats: const {CalendarFormat.month: "Mois"},
focusedDay: selectedDay, focusedDay: selectedDay,
onPageChanged: (s) {
setState(() {
selectedDay = s;
});
},
); );
} }