dashboards_responsive 1.0.4
dashboards_responsive: ^1.0.4 copied to clipboard
A Flutter package for creating responsive, grid-based dashboards with draggable and resizable chart tiles.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.4 - 2025-10-26 #
Fixed #
- Enhanced width validation in smart positioning algorithm
- Added double width checking: initial validation and per-position boundary checks
- Widgets now properly resize when too wide for smaller breakpoints
- Improved boundary validation to prevent grid overflow
1.0.3 - 2025-10-26 #
Added #
- Smart responsive widget addition - widgets are automatically added to all breakpoints with intelligent positioning
- Automatic overlap detection and prevention when adding widgets
- Multi-breakpoint positioning algorithm that finds non-overlapping positions for each screen size
- Add Widget button in fl_chart example demonstrating responsive widget addition
Changed #
addWidgetmethod now requires a specific breakpoint parameter instead of applying to all breakpoints- Widget positioning algorithm automatically calculates appropriate positions for all breakpoints
- Improved responsive behavior - widgets appear on all screen sizes with smart positioning
- Updated documentation and examples to reflect new responsive widget addition behavior
1.0.2 - 2025-10-24 #
Change #
- Renamed main library file from
dashboards.darttodashboards_responsive.dart - Updated all example imports to use new library filename
- Fixed export of
flutter_config.dartin main library
1.0.0 - 2025-10-24 #
Added #
- Initial release of the dashboards package
- Responsive 12-column grid system with configurable breakpoints
- Drag and drop tiles with grid snapping
- Resize tiles using edge handles with visual feedback
- Edit mode toggle - switch between view and edit modes
- Collision detection with automatic layout adjustment
- Responsive layouts that adapt to different screen sizes
- Visual feedback for valid/invalid placements
- Scrollable canvas for large dashboards
- Persistence - save and restore dashboard layouts
- Override parameters - preview different screen sizes and breakpoints
- JSON serialization support for all models
- Comprehensive test coverage including JSON roundtrip tests
- Multiple example applications demonstrating different use cases
Features #
- Hierarchical dashboard controller with auto-layout support
- Widget position management with collision detection
- Breakpoint-aware responsive design
- Grid-based layout system with customizable columns
- Drag and resize interactions with visual feedback
- JSON persistence for dashboard layouts
- Multiple chart integration examples (fl_chart, syncfusion)
- Custom widget support
- Auto-layout algorithms for automatic widget positioning