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

Build error #19

Open
jszental opened this issue Oct 30, 2020 · 3 comments
Open

Build error #19

jszental opened this issue Oct 30, 2020 · 3 comments

Comments

@jszental
Copy link

Getting this error after upgrading flutter:
../../flutter/.pub-cache/hosted/pub.dartlang.org/gradient_app_bar-0.1.3/lib/gradient_app_bar.dart:407:57: Error: No named parameter with the name 'nullOk'.
final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
^^^^^^
../../flutter/packages/flutter/lib/src/material/scaffold.dart:1918:24: Context: Found this candidate, but the arguments don't match.
static ScaffoldState of(BuildContext context) {
^^

Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description

Flutter doctor:
[✓] Flutter (Channel master, 1.24.0-4.0.pre.160, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-AU)
• Flutter version 1.24.0-4.0.pre.160 at /Users/Josh/Developer/flutter
• Framework revision 678f3cb4fb (39 minutes ago), 2020-10-29 16:26:16 -0700
• Engine revision 073263e39d
• Dart version 2.11.0 (build 2.11.0-260.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/Josh/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.0.1, Build version 12A7300
• CocoaPods version 1.9.1

[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
• iPhone 11 (mobile) • 056B5D12-1B8A-4639-BC21-1DA9FD02A58A • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!
Process finished with exit code 0

@alextrujillo4
Copy link

Did you find a solution for this situation?

@jszental
Copy link
Author

jszental commented Jan 8, 2021 via email

@prateek-aher
Copy link

prateek-aher commented May 7, 2021

This issue still persists. What's the progress on it?
I've tried versions 0.0.1, 0.1.0, and 0.1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants