RadioAktywne / ra-app

Repository for mobile app project.
5 stars 1 forks source link

`SwipeableCard` doesn't display anything on loading and error states #71

Closed julianuziemblo closed 1 month ago

julianuziemblo commented 3 months ago

SwipeableCard widget doesn't display anything (as shown below) when it loads and when it fails to load the image. This should be replaced with it displaying the RaProgressIndicator in loading state and the default RA image (defaultMedia.png) in error state.

obraz

julianuziemblo commented 3 months ago

This is most probably due to the fact that it isn't the Image widget who's loading the provided image (in file: lib/components/utility/image_with_overlay.dart:40) - it's the imageBuilder, which doesn't have its loadingBuilder and errorBuilder methods defined! 😅

obraz