hm 3 references

1) Fetching Random Name from API using Dio and Bloc

https://blog.usejournal.com/flutter-http-requests-with-dio-rxdart-and-bloc-da325ca5fe33
original source – https://github.com/jhomlala/randomuser

Updated source

2) Carousel

ref – https://pub.dev/packages/carousel_slider

First, we have an array of image URLs where images are located.

code for imgList

We take that array and for each item, we create a Container, with another Container as the child.

The child Container has a ClipRRect, which has a Stack.

This Stack means it contains an Image, with a Positioned Widget.
The Positioned widget has a Container and fits text inside of some padding.

Thus, this completes our List of Widgets.

The code for imageSliders

We then stick this list of Widgets to the items property of CarouselSlider.

code for CarouselSlider

Then in your class, you use it like so:

VerticalSliderDemo class

3) Navigating from one page to another

ref – https://flutter.dev/docs/cookbook/navigation/navigation-basics