Flutter run error
opened this issue · comments
I clone the project and flutter run
on my local project . logs show something wrong.
(づ。◕‿‿◕。)づ PROJECT cd Flutter-UI-Kit
(づ。◕‿‿◕。)づ Flutter-UI-Kit [master] flutter run
Running "flutter packages get" in Flutter-UI-Kit... 7.8s
Launching lib/main.dart on iPhone X in debug mode...
compiler message: lib/ui/widgets/common_scaffold.dart:33:16: Error: Method not found: 'CircularNotchedRectangle'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^^^^^^^^^^^^^^^^^^^^
compiler message: lib/ui/widgets/common_scaffold.dart:33:9: Error: No named parameter with the name 'shape'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^
compiler message: file:///Users/chengsixgold/PROJECT/flutter/packages/flutter/lib/src/material/bottom_app_bar.dart:45:9: Context: Found this candidate, but the arguments don't match.
compiler message: const BottomAppBar({
compiler message: ^
Compiler failed on /Users/chengsixgold/PROJECT/Flutter-UI-Kit/lib/main.dart
Error launching application on iPhone X.
You need to update your flutter version for this to work
my flutter sdk version is the newest. This is the flutter information:
(づ。◕‿‿◕。)づ flutterhelloworld flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.6 17G65, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2017.3)
[!] VS Code (version 1.25.1)
[✓] Connected devices (1 available)
! Doctor found issues in 1 category.
(づ。◕‿‿◕。)づ flutterhelloworld
What the version of your Flutter?
i got the same issue..