Idean / Flutter-Neumorphic

A complete, ready to use, Neumorphic ui kit for Flutter, 🕶️ dark mode compatible
https://pub.dev/packages/flutter_neumorphic
Apache License 2.0
2.05k stars 374 forks source link

No named parameter with the name 'highContrastTheme' #191

Open omazim opened 4 years ago

omazim commented 4 years ago

Right after installing the package

flutter_neumorphic: ^3.0.3

and depending on it, the following error occurs;

/C:/Users/infos/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_neumorphic-3.0.3/lib/src/widget/app.dart:134:15: Error: No named parameter with the name 'highContrastTheme'.               highContrastTheme: highContrastTheme,               ^^^^^^^^^^^^^^^^^ /C:/flutter/packages/flutter/lib/src/material/app.dart:167:9: Context: Found this candidate, but the arguments don't match.   const MaterialApp({

flutter doctor summary below: `Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 10.0.19041.630], locale en-US)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc1) X Android license status unknown. Try re-installing or updating your Android SDK Manager. See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions. [√] Android Studio (version 4.0) [√] VS Code (version 1.51.1) [√] Connected device (1 available)

! Doctor found issues in 1 category.`

batnhau commented 3 years ago

i have the same error