Build error with Flutter beta channel, No named parameter with the name 'shadowThemeOnly'
jerryzhenleicai opened this issue ยท 4 comments
../../development/flutter/.pub-cache/git/flutter-cupertino-date-picker-38630701b92a4fd0b753f9ab38b3581a5645a629/lib/src/date_picker.dart:103:34: Error: No named parameter with the name 'shadowThemeOnly'.
theme: Theme.of(context, shadowThemeOnly: true),
^^^^^^^^^^^^^^^
../../development/flutter/packages/flutter/lib/src/material/theme.dart:107:20: Context: Found this candidate, but the arguments don't match.
static ThemeData of(BuildContext context) {
^^
Command PhaseScriptExecution failed with a nonzero exit code
Did anyone found a solution? Having the same issue
Having the same issue.
We've forked this repo and fixed the issue here: winteragency@6af702d
You can reference our repo directly in your pubspec.yaml to get your build working until the issue is hopefully fixed:
flutter_cupertino_date_picker:
git: https://github.com/winteragency/flutter-cupertino-date-picker.git
I have same issue