Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run error #3

Open
stayfoo opened this issue Mar 19, 2019 · 5 comments
Open

run error #3

stayfoo opened this issue Mar 19, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@stayfoo
Copy link

stayfoo commented Mar 19, 2019

Launching lib/main.dart on iPhone 8 in debug mode...

Compiler message:
file:///Users/mengyueping/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_scaffold-0.0.2/lib/responsive_scaffold.dart:141:9: Error: No named parameter with the name 'extendBody'.
extendBody: extendBody,
^^^^^^^^^^
file:///Users/mengyueping/flutter/packages/flutter/lib/src/material/scaffold.dart:783:9: Context: Found this candidate, but the arguments don't match.
const Scaffold({
^
file:///Users/mengyueping/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_scaffold-0.0.2/lib/responsive_scaffold.dart:174:7: Error: No named parameter with the name 'extendBody'.
extendBody: extendBody,
^^^^^^^^^^
file:///Users/mengyueping/flutter/packages/flutter/lib/src/material/scaffold.dart:783:9: Context: Found this candidate, but the arguments don't match.
const Scaffold({
^
Compiler failed on /Users/mengyueping/flutter_project/gmail_clone/lib/main.dart
Error launching application on iPhone 8.

@cielo
Copy link

cielo commented Mar 19, 2019

I encountered a simillar issue.

Compiler message:
file:///C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_scaffold-0.0.2/lib/responsive_scaffold.dart:141:9: Error: No named parameter with the name 'extendBody'.
        extendBody: extendBody,
        ^^^^^^^^^^
file:///C:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:783:9: Context: Found this candidate, but the arguments don't match.
  const Scaffold({
        ^
file:///C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_scaffold-0.0.2/lib/responsive_scaffold.dart:174:7: Error: No named parameter with the name 'extendBody'.
      extendBody: extendBody,
      ^^^^^^^^^^
file:///C:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:783:9: Context: Found this candidate, but the arguments don't match.
  const Scaffold({
        ^
Compiler failed on C:\Users\user\vsc-workspace\gmail_clone\lib\main.dart
Gradle task assembleDebug failed with exit code 1

@jcluox
Copy link

jcluox commented Mar 19, 2019

I got the same problem before.
And I upgraded dependencies in pubspec.yaml, I got a new error message.
After fixing that I could run this sample successfully.

@rodydavis
Copy link
Owner

I was targeting the latest version of flutter. Which is definitely needed. The extendBody was just released.

@rodydavis
Copy link
Owner

is this still an issue?

@rodydavis rodydavis added the bug Something isn't working label Oct 18, 2019
@rodydavis rodydavis added this to To do in Flutter Playground Oct 18, 2019
@rodydavis rodydavis removed this from To do in Flutter Playground Feb 28, 2020
@mfth12
Copy link

mfth12 commented Nov 27, 2020

is there still buggy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants