timeIndicatorStyle property
Allows to set style for the time indicator text.
See also:
- showTimeIndicator, which allows to display the time indicator.
- indicatorTimeFormat, which used to format the time indicator text in calendar.
Widget build(BuildContext context) {
return Scaffold(
body: SfCalendar(
view: CalendarView.month,
showWeekNumber: true,
allowDragAndDrop: true,
dragAndDropSettings: DragAndDropSettings(
allowNavigation: true,
allowScroll: true,
autoNavigateDelay: Duration(seconds: 1),
indicatorTimeFormat: 'HH:mm a',
showTimeIndicator: true,
timeIndicatorStyle: TextStyle(color: Colors.cyan),
),
),
);
}
Implementation
final TextStyle? timeIndicatorStyle;