two_dimensional_scrollables
0.5.6, released 3 weeks ago by flutter.dev
Widgets for two‑dimensional scrolling like TableView and TreeView
What it does
Provides TableView and TreeView widgets that scroll both vertically and horizontally, supporting pinned rows/columns, infinite rows/columns, decorations, and custom gestures.
AI-written summary of version 0.5.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a scrollable table or tree that can scroll in two dimensions
- You want pinned or merged cells in a table
- You need lazy building of large tables or trees
Skip it when
- You only need single‑axis scrolling
- You require complex state management beyond scrolling
- You need a fully featured data grid with sorting/filtering
Strengths
- Supports both vertical and horizontal scrolling
- Allows pinned and merged cells
- Lazy building for large data sets
- Open source and actively maintained
Weaknesses
- Limited to scrolling; no built‑in data handling or sorting
- Requires manual integration of data models
- No built‑in theming beyond basic decorations
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency via flutter pub add and import package: import 'package:two_dimensional_scrollables/two_dimensional_scrollables.dart';
import 'package:two_dimensional_scrollables/two_dimensional_scrollables.dart';
TableView(
rowCount: 100,
columnCount: 50,
itemBuilder: (context, row, column) => Text('$row,$column'),
);Alternatives
Packages that do the same job and could replace two_dimensional_scrollables.
- marqueer
A customizable Flutter marquee widget for smooth multi-direction scrolling content.
81Compare - infinite_grouped_list
Dynamic scrolling list that efficiently groups items and loads more data as the user scrolls.
79Compare - nested_scroll_views
Flutter nested scrolling with drag handoff at scroll boundaries for multiple scroll views.
76Compare - scroll_spy
Detect visible items and select one stable primary item in Flutter scrollables.
67Compare
Works with
Packages commonly used together with two_dimensional_scrollables: ones it builds on, ones built on it, and its own family.
- shadcn_uiBuilt on two_dimensional_scrollablesFlutter port of the shadcn/ui design system with customizable components.
- shadBuilt on two_dimensional_scrollablesA Flutter port of shadcn/ui with 40+ components and no Material dependency.
- calendar_day_viewBuilt on two_dimensional_scrollablesFlutter library for displaying calendar events in multiple day view layouts.