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
I added the image_carousel like mentioned in the stackoverflow post here with a List.
If I reconstruct the Widget with a new List the carousel is not going through all Images. Only the images were in the List before.
How can force the carousel to show also the added images?
I added the image_carousel like mentioned in the stackoverflow post here with a List.
If I reconstruct the Widget with a new List the carousel is not going through all Images. Only the images were in the List before.
How can force the carousel to show also the added images?
`import 'package:flutter/material.dart';
import 'package:image_carousel/image_carousel.dart';
class ShowPictures extends StatelessWidget {
final List networkimages;
//Constructor to create this class
ShowPictures(this.networkimages) {
print('Image Carousel Widget Constructor');
}
@OverRide
Widget build(BuildContext context) {
// TODO: implement build
print('Image Carousel Widget build');
return new ImageCarousel(
networkimages,
interval: new Duration(seconds: 8),
);
}
}
`
The text was updated successfully, but these errors were encountered: