auto_scroll_row 0.0.2 copy "auto_scroll_row: ^0.0.2" to clipboard
auto_scroll_row: ^0.0.2 copied to clipboard

A widget that automatically scrolls a row of items.

example/lib/main.dart

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

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Auto Scroll Row Example',
      home: Scaffold(
        appBar: AppBar(title: const Text('AutoScrollRow Example')),
        body: Center(
          child: AutoScrollRow(
            children: List.generate(
              10,
              (index) => Container(
                width: 100,
                height: 100,
                margin: const EdgeInsets.all(8),
                color: Colors.blueAccent,
                child: Center(child: Text('Item $index')),
              ),
            ),
            scrollDuration: const Duration(minutes: 15),
            reverse: false,
            enableUserScroll: true,
          ),
        ),
      ),
    );
  }
}
1
likes
150
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A widget that automatically scrolls a row of items.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on auto_scroll_row