monthWeekBuilder property
Build your own weeks
- NOTE: COPY & PASTE
-
Sample code
monthWeekBuilder: (index, weeks, weekHeight, weekWidth) {
return SizedBox(
height: weekHeight,
width: weekWidth,
child: Align(
child: Text(
weeks,
style: const TextStyle(
fontSize: 14,
color: Colors.grey,
fontWeight: FontWeight.w500,
),
overflow: TextOverflow.ellipsis,
maxLines: 1,
),
),
);
},
{@end-tool}
Implementation
/// ```
/// {@end-tool}
///
final WidgetCbMonthWeek? monthWeekBuilder;