Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with Flutter beta channel, No named parameter with the name 'shadowThemeOnly' #139

Open
jerryzhenleicai opened this issue Dec 19, 2020 · 4 comments

Comments

@jerryzhenleicai
Copy link

../../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

@WaheedHussainHaans
Copy link

Did anyone found a solution? Having the same issue

@hunterwilhelm
Copy link

Having the same issue.

@marcusforsberg
Copy link

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

@bhavyaCilans
Copy link

I have same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants