Error on Flutter 1.24.0-10.2.pre
Hi guys, I was testing the latest version of flutter and found out this issue
For the new Flutter version(1.24.0-10.2.pre), you need to change
ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);
to
ThemeData inheritTheme = Theme.of(context);
error:
../../sdks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.4.0/lib/flutter_datetime_picker.dart:215:48: Error: No named parameter with the name 'shadowThemeOnly'.
ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);
Same Issue, thank you for the workaround
Same Issue
Me too..
I had to navigate to .pubdartlang.org -> flutter_datetime_picker and manually modify
ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);
to
ThemeData inheritTheme = Theme.of(context); for now.
It's affecting other packages like country_code_picker and getx(fixed) too.
What's the purpose of shadowThemeOnly: true? Removing it may have consequences.
Duplicate of #206 . I also removed it for the time being.
same issue