You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a package with an asset (image) in the lib folder (or use the package above)
import the assets as in the configuration above
copy the configuration above and run dart run flutter_native_splash:create
logs
dart run flutter_native_splash:createBuilding package executable... (1.7s)Built flutter_native_splash:create.The file "packages/yakforward_brand/logo.png" set as the parameter "image" was not found.
Doctor summary (to see all details, run flutter doctor -v):[!] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-arm64, locale en-US) ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.3.3/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/francesco/fvm/versions/stable. Consider adding /Users/francesco/fvm/versions/stable/bin to the front of your path.[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)[✓] Xcode - develop for iOS and macOS (Xcode 15.3)[✓] Chrome - develop for the web[✓] Android Studio (version 2022.3)[✓] VS Code (version 1.88.0)[✓] Connected device (2 available)[✓] Network resources! Doctor found issues in 1 category.
Your project does not have a packages/yakforward_brand folder, so the command does not find any images. Try putting your images in your project's assets folder instead.
Your project does not have a packages/yakforward_brand folder, so the command does not find any images. Try putting your images in your project's assets folder instead.
@jonbhanson
the point is to use an image from a package (see docs),
if I have to manually download it into the asset folder it defeat the purpose
Describe the bug
using an asset from a package (see docs), cause splash screen generation to fail
Configuration
To Reproduce
lib
folder (or use the package above)configuration
abovedart run flutter_native_splash:create
logs
note that the asset is available in app using
Additional context
flutter doctor
cc @jonbhanson
The text was updated successfully, but these errors were encountered: