When changing device orientation, I get an error on the calendar in file: calendar_view.dart on line 1410, as you can see below.
Kind regards,
Cris
|
@override void initState() { super.initState(); SystemChrome.setPreferredOrientations([ DeviceOrientation.landscapeRight, DeviceOrientation.landscapeLeft, DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, ]); } |
Hi.
Thanks for looking into this.
I figured out that the problem occurs when changing the number of calendars displayed when changing the orientation.
What I do in my application is display 1 calendar when in portrait mode and multiple in landscape.
I've created a little application that reproduces it.
Please find it attached.
Kind regards,
Cris
That's great. Thanks,