Closed scshivam closed 3 years ago
Yep. First, you have to understand that DayBarStyleBuilder
is a function that accepts a DateTime
and returns a DayBarStyle
(see here). Here's a such function.
So if you want to use it as an argument, just write something like this :
dayBarStyleBuilder: (date) {
// Get whatever info you want about this date...
return const DayBarStyle();
}
Please provide some example code to use the dayBarStyleBuilder.