Closed dariocavada closed 3 years ago
found a solution:
CachedNetworkImage(
imageUrl:
'your image url',
fit: BoxFit.cover,
cacheManager: CustomCacheManager.instance,
placeholder: (context, url) => Container(
child: Center(
child: CircularProgressIndicator(),
),
),
imageBuilder: (context, imageProvider) => Panorama(
animSpeed: 1.0,
sensorControl: SensorControl.Orientation,
child: Image(
image: imageProvider,
),
),
)
I'm using flutter cached_network_image component for panoramas. Some panorama have quite big size (8-12Mb). Any idea how to show a spinner to show the downloading phase ?