textAlign property

TextAlign textAlign
final

How the text should be aligned horizontally in SfCalendar month label of schedule view.

Defaults to TextAlign.center.

See also:


@override
 Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.schedule,
       scheduleViewSettings: ScheduleViewSettings(
           monthHeaderSettings: MonthHeaderSettings(
                  textAlign: TextAlign.start)),
     ),
   );
 }

Implementation

final TextAlign textAlign;