auto_scroll_image 0.1.3-dev auto_scroll_image: ^0.1.3-dev copied to clipboard
A Flutter package for auto scrolling images.
A Flutter package for auto-scrolling images. Compatible with , , MacOS &
Features #
- A Flutter package for auto-scrolling images.
- This package provides a widget for displaying a horizontal list of images that automatically scrolls.
- Users can customize the number of items, item width, and the duration of auto-scrolling.
- For web page take care of width of SizedBox to see image scrolling
Getting started #
First of all add assets folder in your app's root and add some pictures and name them image_0.png or other image format, assets--| | image_0.png | image_1.png
![](/Users/johnhabibpour/Documents/Screenshot 2024-01-07 at 11.01.21 PM.png)
![](/Users/johnhabibpour/Documents/Screenshot 2024-01-07 at 11.04.07 PM.png)
import:
import 'package:auto_scroll_image/auto_scroll_image.dart';
Usage #
You can take a look at example bellow;
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Auto Scroll Image'),
),
body: const AutoScrollImage()),
);
}
}
Additional information #
This package facilitates seamless image scrolling on your screen, making it ideal for showcasing advertisements or demonstrating your app's capabilities. Enhance user engagement by effortlessly presenting a dynamic list of images with this easy-to-use solution,