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

Flutter version 2.0.1 stable. Android build error #146

Open
MehmetApmDev opened this issue Mar 16, 2021 · 2 comments
Open

Flutter version 2.0.1 stable. Android build error #146

MehmetApmDev opened this issue Mar 16, 2021 · 2 comments

Comments

@MehmetApmDev
Copy link

/C:/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),
^^^^^^^^^^^^^^^
/C:/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) {
^^

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
@bhavyaCilans
Copy link

I have same issue

@maliaydemir
Copy link

I solved with different repo. https://github.com/winteragency/flutter-cupertino-date-picker.git.

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

3 participants