scrollable_page_view 0.0.13 copy "scrollable_page_view: ^0.0.13" to clipboard
scrollable_page_view: ^0.0.13 copied to clipboard

Infinite horizontally scrollable pages inside a horizontal PageView.

example/lib/main.dart

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

void main() => runApp(App());

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    const swatches = [Colors.red, Colors.yellow, Colors.green, Colors.blue];
    return MaterialApp(
        home: Material(
      child: ScrollablePageView(
        itemBuilder: (context, index) {
          return Row(
            children: List.generate(
              9,
              (idx) => Container(
                width: 100,
                color: swatches[index][(idx + 1) * 100],
                child: Center(
                  child: Text('$idx'),
                ),
              ),
            ),
          );
        },
        itemCount: 4,
      ),
    ));
  }
}
3
likes
110
pub points
41%
popularity

Publisher

verified publisheridenti.app

Infinite horizontally scrollable pages inside a horizontal PageView.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on scrollable_page_view