zoom_view 0.0.9 copy "zoom_view: ^0.0.9" to clipboard
zoom_view: ^0.0.9 copied to clipboard

Widget that allows both zooming and scrolling a ListView or other Scrollables

example/main.dart

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

class ZoomListViewExample extends StatefulWidget {
  const ZoomListViewExample({super.key});

  @override
  State<ZoomListViewExample> createState() => _ZoomListViewExampleState();
}

class _ZoomListViewExampleState extends State<ZoomListViewExample> {
  ScrollController controller = ScrollController();
  @override
  Widget build(BuildContext context) {
    return ZoomListView(
      child: ListView.builder(
          physics: const BouncingScrollPhysics(),
          controller: controller,
          itemCount: 100,
          itemBuilder: (context, index) {
            return Center(child: Text("text $index"));
          }),
    );
  }
}
3
likes
0
pub points
59%
popularity

Publisher

unverified uploader

Widget that allows both zooming and scrolling a ListView or other Scrollables

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on zoom_view