Error: No named parameter with the name 'shadowThemeOnly'.
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!
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
This is very odd, since the document shows 'shadowThemeOnly' still exists.
I am having the same problem too.
@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
./../../../.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);
@espresso3389 Thank you brother
@espresso3389 Thank you
same issue
Already [Solved] Please Look at here for all possible solution [Solved] Error: No named parameter with the name ‘keyboardDismissBehavior’
Already [Solved] Please Look at here for all possible solution [Solved] Error: No named parameter with the name ‘keyboardDismissBehavior’
This does not work