dayShape property

MaterialStateProperty<OutlinedBorder?>? dayShape
final

Overrides the default shape used to paint the shape decoration of the day labels in the grid of the date picker.

If the selected day is the current day, the provided shape with the value of todayBackgroundColor is used to paint the shape decoration of the day label and the value of todayBorder and todayForegroundColor is used to paint the border.

If the selected day is not the current day, the provided shape with the value of dayBackgroundColor is used to paint the shape decoration of the day label.

This sample demonstrates how to customize the day selector shape decoration using the dayShape, todayForegroundColor, todayBackgroundColor, and todayBorder properties.
link

To create a local project with this code sample, run:
flutter create --sample=material.DatePickerThemeData.dayShape.1 mysample

Implementation

final MaterialStateProperty<OutlinedBorder?>? dayShape;