flutter-cupertino-date-picker
flutter-cupertino-date-picker copied to clipboard
Build error with Flutter beta channel, No named parameter with the name 'shadowThemeOnly'
../../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: https://github.com/winteragency/flutter-cupertino-date-picker/commit/6af702db17357606f47aa57b8af08dd8e4a6f64d
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