monthHeaderBuilder property
Build your own month Headers
- NOTE: COPY & PASTE
-
Sample code
monthHeaderBuilder:
(month, headerHeight, headerWidth, paddingLeft) {
return SizedBox(
height: headerHeight,
width: headerWidth,
child: Padding(
padding: EdgeInsets.only(left: paddingLeft),
child: Align(
alignment: Alignment.centerLeft,
child: Text(
month,
style: const TextStyle(
fontSize: 22,
fontWeight: FontWeight.w600,
),
),
),
),
);
},
{@end-tool}
Implementation
final WeidgetCbMonthHeader? monthHeaderBuilder;