I'm trying to load an asset (obj file) from a package. Unfortunately this doesn't work because of file_loader.dart line 152.
if (url.startsWith("assets")) {
Could you change this line into
if (url.startsWith("assets") || url.startsWith("packages")) {
Hi,
I'm trying to load an asset (obj file) from a package. Unfortunately this doesn't work because of file_loader.dart line 152.
if (url.startsWith("assets")) {
Could you change this line into
if (url.startsWith("assets") || url.startsWith("packages")) {
this would allow to read assets from packages.