The original calendar does not allow to disable the format change animation.
When switching between CalendarFormat.week and CalendarFormat.month in the bottom off a SliverAppBar there were overflows because the animation of the format change was happening to slow. When trying to set the animation duration to 0ms, the framework would warn with flutter: A RenderAnimatedSize was mutated in its own performLayout implementation.
Fixing this by disabling the format animation entirely.
The original calendar does not allow to disable the format change animation. When switching between CalendarFormat.week and CalendarFormat.month in the bottom off a SliverAppBar there were overflows because the animation of the format change was happening to slow. When trying to set the animation duration to 0ms, the framework would warn with
flutter: A RenderAnimatedSize was mutated in its own performLayout implementation.
Fixing this by disabling the format animation entirely.