joostlek / GradientAppBar

Gradient app bar for Flutter
https://pub.dartlang.org/packages/gradient_app_bar
BSD 3-Clause "New" or "Revised" License
134 stars 68 forks source link

Build error #19

Open jszental opened 4 years ago

jszental commented 4 years ago

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 commented 3 years ago

Did you find a solution for this situation?

jszental commented 3 years ago

No I just removed the package. On 9 Jan 2021, 9:17 AM +1100, Alexandro Trujillo notifications@github.com, wrote:

Did you find a solution for this situation? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

prateek-aher commented 3 years ago

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