viewHeaderHeight property
The height of the view header to the layout within this in SfCalendar.
Defaults to -1
.
See also:
- viewHeaderStyle, to know about the available customization options for view header view in calendar.
- Knowledge base: How to format day and date of view header
- Knowledge base: How to add custom header and view header
- Knowledge base: How to highlight tapped date in view header
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.week,
viewHeaderHeight: 100,
),
);
}
Implementation
final double viewHeaderHeight;