flutter_datetime_picker icon indicating copy to clipboard operation
flutter_datetime_picker copied to clipboard

Error: No named parameter with the name 'shadowThemeOnly'.

Open LefebvreIlyas opened this issue 5 years ago • 10 comments

See flutter/pull/68922.

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.24.0-7.0.pre.75, on Microsoft Windows [version 10.0.18363.1139], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.7.7)
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Ultimate Edition (version 2020.2)
[√] VS Code (version 1.50.1)
[√] Connected device (4 available)

• No issues found!

LefebvreIlyas avatar Nov 03 '20 19:11 LefebvreIlyas

for current run command flutter downgrade to 1.23.0-13.0.pre-79-g0d8696f655

or run command flutter version 1.23.0-13.0.pre-79-g0d8696f655

bung87 avatar Nov 04 '20 01:11 bung87

This is very odd, since the document shows 'shadowThemeOnly' still exists.

ComputelessComputer avatar Nov 12 '20 04:11 ComputelessComputer

I am having the same problem too.

ComputelessComputer avatar Nov 12 '20 04:11 ComputelessComputer

@ComputelessComputer

This is very odd, since the document shows 'shadowThemeOnly' still exists.

On master channel, shadowThemeOnly is removed:

https://master-api.flutter.dev/flutter/material/Theme/of.html

And if you just want to workaround the issue, you can use my fork:

  flutter_datetime_picker:
    git:
      url: https://github.com/espresso3389/flutter_datetime_picker

espresso3389 avatar Nov 12 '20 04:11 espresso3389

./../../../.pub-cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.4.0/lib/flutter_datetime_picker.dart:215:48: Error: No named parameter with the name 'shadowThemeOnly'. ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);

chongbo2013 avatar Nov 16 '20 05:11 chongbo2013

@espresso3389 Thank you brother

Klazyo avatar Nov 22 '20 18:11 Klazyo

@espresso3389 Thank you

JAICHANGPARK avatar Dec 15 '20 04:12 JAICHANGPARK

same issue

anushkapubudu avatar Jan 17 '21 13:01 anushkapubudu

Already [Solved] Please Look at here for all possible solution [Solved] Error: No named parameter with the name ‘keyboardDismissBehavior’

flutterq avatar Jan 28 '21 17:01 flutterq

Already [Solved] Please Look at here for all possible solution [Solved] Error: No named parameter with the name ‘keyboardDismissBehavior’

This does not work

jerry-cai avatar Mar 13 '21 19:03 jerry-cai