auto_scroll_image 0.2.9-dev copy "auto_scroll_image: ^0.2.9-dev" to clipboard
auto_scroll_image: ^0.2.9-dev copied to clipboard

Enhance your app with Auto Scroll Image for dynamic scrolling ads. Compatible with iOS, Android, macOS, and web platforms for a seamless experience on various devices

example/lib/main.dart

import 'package:auto_scroll_image/auto_scroll_image.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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 Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            // Your other widgets can go here

            // Example usage of AutoScrollImage
            AutoScrollImage(
              itemCount: 10, // Customize itemCount
              itemWidth: 50.0, // Customize itemWidth
              autoScrollDuration:
                  Duration(seconds: 2), // Customize autoScrollDuration
              timerInterval: Duration(seconds: 2), // Customize timerInterval
            ),

            // More of your widgets can follow here
          ],
        ),
      ),
    );
  }
}
3
likes
135
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Enhance your app with Auto Scroll Image for dynamic scrolling ads. Compatible with iOS, Android, macOS, and web platforms for a seamless experience on various devices

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on auto_scroll_image