showCurrentTimeIndicator property Null safety
final
Displays an indicator that shows the current time in the time slot views of SfCalendar. By default, the indicator color matches the todayHighlightColor.
Defaults to true
.
see also:
- todayHighlightColor, to customize the color of the indicator.
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.day,
showCurrentTimeIndicator: true),
);
}
Implementation
final bool showCurrentTimeIndicator;