firebase_image
firebase_image copied to clipboard
Warning: Operand of null-aware operation '!' has type 'String' which excludes null.
Expected Behaviour
(e.g. Image cached locally) no warning when I run my own app.
Actual Behaviour
(e.g. App crashed with stack trace provided) just warning,, one time or twice in the console.
Steps to Reproduce the Problem
When I just start an app,,, with real device(android tablet)
Specifications
- Version: (e.g. 0.1.4) = ^1.0.1
- Device: (e.g. iPhone 6) = p10 HD
- Platform: (e.g. Hummingbird) = Android 9
- Flutter Version: (please enter the output of
flutter --version
) 2.0.2
Screenshots
If applicable, please add screenshots to help explain your problem.
Additional Context
(optional) Add any other context about the problem here. It just only warning,,, but I cannot confirm a situation when I face a certain problem.. So please check this problem. Thank you.
Exactly same here: firebase_image-1.0.1/lib/src/cache_manager.dart:29:13: Warning: Operand of null-aware operation '!' has type 'String' which excludes null.
I am facing same error @mattreid1
../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_image-1.0.1/lib/src/cache_manager.dart:29:13: Warning: Operand of null-aware operation '!' has type 'String' which excludes null.
join((await getDatabasesPath())!, dbName),
^
I have get this error!
/C:/Users/kuk/Documents/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_image-1.0.1/lib/src/cache_manager.dart:29:13: Warning: Operand of null-aware operation '!' has type 'String' which excludes null. join((await getDatabasesPath())!, dbName), ^
I get the same error.
patrick386@iMac flutter_ui % flutter doctor -v [✓] Flutter (Channel master, 2.6.0-12.0.pre.171, on Mac OS X 10.15.7 19H1323 darwin-x64, locale ko-KR) • Flutter version 2.6.0-12.0.pre.171 at /Users/patrick386/Developer/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18ed542e91 (18 hours ago), 2021-10-01 05:43:04 -0400 • Engine revision 2db4319447 • Dart version 2.15.0 (build 2.15.0-168.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/patrick386/Library/Android/sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165) • All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 12.4) • Xcode at /Applications/Xcode.app/Contents/Developer ! Flutter recommends a minimum Xcode version of 13.0.0. Download the latest version or update via the Mac App Store. • CocoaPods version 1.10.1
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3) • 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 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.57.1) • VS Code at /Users/patrick386/Downloads/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.7 19H1323 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.71
! Doctor found issues in 1 category.
same error
same here :) anyone have solved this warning!
may con cho ngu