indicatorTimeFormat property
Allows to format the time indicator text.
See also:
- showTimeIndicator, which allows to display the time indicator.
- timeIndicatorStyle, which used to customize the time indicator text.
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,
),
),
);
}
Implementation
final String indicatorTimeFormat;