zoom_view
1.0.2, released 11 months ago by an unverified publisher
Allows zooming and scrolling a ListView or other Scrollables.
What it does
Provides a widget that wraps a ListView or other Scrollables to support both zooming and scrolling. Features include double-tap to zoom, programmatic zoom control, and minimum/maximum scale limits.
AI-written summary of version 1.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to allow users to zoom in and out of a scrolling list of items or images.
- You want support for double-tap to zoom and custom gesture handlers on scrollable widgets.
Skip it when
- You only need standard scrolling without any zooming capabilities.
- You are using unsupported scrollable lists that cannot expose their ScrollPosition.
Strengths
- Supports double-tap to zoom and double-tap-and-drag gestures.
- Provides a ZoomViewController for programmatic zoom control.
- Compatible with ListView and scrollable_positioned_list.
Weaknesses
- Requires manual configuration of controllers across the list and zoom view.
- Using alternative scrollable lists like scrollable_positioned_list requires a custom fork or adapter setup.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Not documented
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
ScrollController controller = ScrollController();
@override
Widget build(BuildContext context) {
return Scaffold(
body: ZoomListView(
child: ListView.builder(
controller: controller,
itemCount: 10000,
itemBuilder: (context, index) {
return Center(
child: Text("text $index")
);
}
),
),
);
}
}Alternatives
Packages that do the same job and could replace zoom_view.
- paging_view
Flutter widgets for infinite‑scroll, paginated lists, grids and slivers with data‑source control.
71Compare - two_dimensional_scrollables
Widgets for two‑dimensional scrolling like TableView and TreeView
94Compare - indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare - alphabet_list_view
A ListView with sticky headers and an iOS-like clickable sidebar.
76Compare