appointmentTimeTextFormat property

String? appointmentTimeTextFormat
final

Defines the time format for appointment view text in SfCalendar month agenda view and schedule view.

The specified time format applicable when calendar view is CalendarView.schedule or CalendarView.month.

The time formats specified in the below link are supported Ref: https://api.flutter.dev/flutter/intl/DateFormat-class.html

Defaults to null.

See also:


Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.month,
       monthViewSettings: MonthViewSettings(
           showAgenda: true,
           navigationDirection: MonthNavigationDirection.horizontal),
       appointmentTimeTextFormat: 'hh:mm a',
     ),
   );
 }

Implementation

final String? appointmentTimeTextFormat;