Auto slide image with indicator in flutter
carousel_slider # A carousel slider widget, support infinite scroll and custom widget, with auto play feature. Example App:- Add carousel_pro: ^1.0.0 in your pubspec.yaml dependencies. And import it: import 'package:flutter/material.dart'; import 'package:carousel_pro/carousel_pro.dart'; void main() => runApp(MaterialApp( debugShowCheckedModeBanner: false, title: 'Auto_Image_slider_with_Indicator', home: HomePage(), )); class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState extends State<HomePage> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Colors.brown, title: Text("Auto_Image_slider_with_Indicator"), ), body: ListView(children: <Widget>[ autoImagesliderwithIndicator, ]), ); } Widget autoIma
Comments