Using asset image from custom widget

Hello community

I'm currently using asst image from custom widget for Google map icon. This code is not working with flutterflow test(run) mode on the web browser, but working in android studio. My asset is properly downloaded and also working.

icon = await google_maps_flutter.BitmapDescriptor.fromAssetImage(
      ImageConfiguration(devicePixelRatio: 2.5),
      "assets/images/${path}"
    );

Do anyonw knows how to make this work?

6
4 replies