You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #260 customDayBuilder can not return null. There is also no way to return the default implementation which could have been an alternative, but as it's nullability is documented as a feature I suspect this happened by accident. Link to diff
I haven't looked at the other custom builders, but being able to return null if one doesn't want to customize the widget is useful. We want to customize the current day, and have the default behavior for all other days.
Suggested new implementation of getDayContainer():
Allow customDayBuilder and markedDateIconBuilder to return null. If it
returns null, use the default. This restores the original behavior from
v1. Fixeshyochan#270.
Version of flutter_calendar_carousel
2.0.0
Expected behavior
After #260 customDayBuilder can not return null. There is also no way to return the default implementation which could have been an alternative, but as it's nullability is documented as a feature I suspect this happened by accident. Link to diff
I haven't looked at the other custom builders, but being able to return null if one doesn't want to customize the widget is useful. We want to customize the current day, and have the default behavior for all other days.
Suggested new implementation of getDayContainer():
The text was updated successfully, but these errors were encountered: