Posts

Showing posts with the label Automatic Scrolling Image in flutter

Automatic Scrolling Image in flutter

Hi, In this Flutter tutorial I am going to explain how to create auto scrolling image view this type of auto scrolling image you can use in any app to show app latest feature and new offer, so let's create flutter auto scrolling image Add  carousel_slider: ^1.3.0  in your  pubspec.yaml  dependencies. And import it: import 'package:carousel_slider/carousel_slider.dart' ; complete example import 'package:flutter/material.dart'; import 'package:carousel_slider/carousel_slider.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter ListView Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: Scaffold( appBar: AppBar( title: Text("ListView Demo"), ), body: Container( decoration: BoxDecoration( color