mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Fix appearance issues
This commit is contained in:
parent
0b4306990a
commit
fa8c1f46a1
@ -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;
|
||||||
|
});
|
||||||
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user