sliver_dashboard
2.9.0, released 3 days ago by an unverified publisher
Smooth, sliver-based drag and resize grid engine for Flutter dashboards.
What it does
Provides a sliver-native layout engine for building interactive dashboards with drag-and-drop, resizing, nested grids, and viewport virtualization. It composes natively with Flutter's scrolling system and supports responsive layouts across platforms.
AI-written summary of version 2.8.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building user-configurable dashboards, analytics platforms, or IoT control panels
- You need complex grid layouts with drag-and-drop and resizing inside a CustomScrollView
- Managing nested grids with cross-sliver drag-and-drop support
Skip it when
- Building standard static UI forms or simple lists that do not require grid repositioning
- You need a simple non-scrollable table or layout
Strengths
- High performance virtualization and fast collision resolution
- Rich set of features including nested grids, cross-sliver drag-and-drop, and minimap support
- Fully customizable interaction policies, compaction, and responsive breakpoints
Weaknesses
- Large API surface with many configuration options which can take time to master
- Custom implementation required if integrating external state management beyond the provided controller
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add the dependency to pubspec.yaml and instantiate a DashboardController.
final controller = DashboardController(
initialSlotCount: 5,
initialLayout: [
const LayoutItem(id: 'a', x: 0, y: 0, w: 2, h: 2),
],
);
Dashboard(
controller: controller,
itemBuilder: (context, item) => Card(
child: Center(child: Text('Item ${item.id}')),
),
)Alternatives
Packages that do the same job and could replace sliver_dashboard.
- responsive_framework
Choose responsive_framework for adaptive scaling and responsive breakpoints across generic app screens instead of a widget-level dashboard drag-and-drop grid.
50Compare - responsive_builder
Choose responsive_builder for building different UI layouts based on screen size using simple builders rather than an interactive sliver dashboard engine.
50Compare
Works with
Packages commonly used together with sliver_dashboard: ones it builds on, ones built on it, and its own family.