flutter-cupertino-date-picker icon indicating copy to clipboard operation
flutter-cupertino-date-picker copied to clipboard

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

Open jerryzhenleicai opened this issue 4 years ago • 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

jerryzhenleicai avatar Dec 19 '20 20:12 jerryzhenleicai

Did anyone found a solution? Having the same issue

WaheedHussainHaans avatar Jan 01 '21 18:01 WaheedHussainHaans

Having the same issue.

hunterwilhelm avatar Jan 06 '21 01:01 hunterwilhelm

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

marcusforsberg avatar Jan 29 '21 11:01 marcusforsberg

I have same issue

bhavyaCilans avatar May 19 '21 13:05 bhavyaCilans