How To Put Indicator No Image Flutter
how to put on image like the design. I was learn on youtube but tutorial have only outside, I try to use Carousel_Pro but it's can't use because it's not nullSafety .
Center( child: CarouselSlider( carouselController: _carouselController, options: CarouselOptions( initialPage: 0, height: MediaQuery.of(context).size.height * 0.23, viewportFraction: 1.0, enlargeCenterPage: false, onPageChanged: (index, reason) => setState(() => activeIndex = index) // autoPlay: false, ), items: imageList .map((item) => Container( child: ClipRRect( borderRadius: BorderRadius.circular(10.0), child: SizedBox( height: MediaQuery.of(context).size.height * 1, width: MediaQuery.of(context).size.width * 1, child: Image.network( item, fit: BoxFit.cover, height: MediaQuery.of(context).size.height * 1, ))), )) .toList(), )), buildIndicator(),
Stack widget : https://api.flutter.dev/flutter/widgets/Stack-class.html
It will help you to stack widget one on another instead of one under another
- → How do you create a 12 or 24 mnemonics code for multiple cryptocurrencies (ETH, BTC and so on..)
- → Flutter: input text field don't work properly in a simple example..... where am I wrong?
- → Can I customize the code formatting of Dart code in Atom?
- → Is it possible to develop iOS apps with Flutter on a Linux virtual machine?
- → Display SnackBar in Flutter
- → JSON ObjectMapper in Flutter
- → Material flutter app source code
- → TabBarSelection No such method error
- → How do I set the animation color of a LinearProgressIndicator?
- → Add different routes/screens to Flutter app
- → Is there a way to get the size of an existing widget?
- → How to share a file using flutter
- → Is there an easy way to find particular text built from RichText in a Flutter test?