selectionDecoration property

Decoration? selectionDecoration

The decoration for the selection cells in SfCalendar.

Defaults to null.

Using a SfCalendarTheme gives more fine-grained control over the appearance of various components of the calendar.

See also:

Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.month,
       selectionDecoration: BoxDecoration(
          color: Colors.transparent,
              Border.all(color: const Color.fromARGB(255, 68, 140, 255),
                    width: 2),
            borderRadius: const BorderRadius.all(Radius.circular(4)),
            shape: BoxShape.rectangle,


final Decoration? selectionDecoration;