custom_roi_cells 0.3.4
custom_roi_cells: ^0.3.4 copied to clipboard
Flutter package for creating grid cells with customizable screen size and number of cells for ROI camera applications, data tables, Excel-like spreadsheets, and more!
0.3.4 #
- Custom Column/Row Sizes (NEW!):
- Added
CellsSizeControllerto manage custom sizes for columns and rows - Added
CellsSizeInputWidgetfor users to input custom column widths and row heights - Support custom width for each column independently
- Support custom height for each row independently
- Auto-switch from GridView to Table widget when custom sizes are enabled
- Display default and actual sizes for each column/row
- Reset individual or all sizes to default
- Seamless integration with
CellsDataWidgetandCellsTableWidget - Horizontal and vertical scrolling support for large tables with custom sizes
- Added
- Text Display Improvements:
- Fixed text being cut off in cells
- Auto-scale text to fit cell size using FittedBox
- Tooltip to show full text when hovering
- Auto-adjust font size based on cell size
- Better text overflow handling
0.3.0 #
- Excel-like Features (NEW!):
- Added
CellsDataControllerto manage cell data (text, formatting) - Added
CellsDataWidgetfor editable cells with text editing - Added
CellsTableWidgetfor displaying data as table - Added
CellDataclass for cell data and formatting - Support loading data from
List<List<String>>orList<Map<String, dynamic>> - Support cell formatting (text color, background color, font size, font weight, text alignment)
- Added search functionality (
CellsSearch) - Added sort functionality (
CellsSort) - Added filter functionality (
CellsFilter) - Added export/import functionality (
CellsExportImport) - CSV, JSON - Support header rows with custom styling
- Added
- Improved Drag Selection:
- Fixed drag selection coordinate offset issue using HitTest
- Improved cell index calculation from touch position
- More accurate selection when widget is wrapped in containers
0.2.2 #
- Package Renamed:
- Renamed package from
custom_roi_camera_cellstocustom_roi_cells - Updated all imports and references
- Updated example app package name to
custom_roi_cells_example
- Renamed package from
- Documentation Improvements:
- Added demo section to README.md with screenshots and video support
- Updated all documentation files to English
- Added demo images/videos directory structure
- Improved README.md with visual demonstrations
- Error Handling:
- Added try-catch blocks throughout the library to prevent crashes
- Improved error handling in CellsController
- Improved error handling in CellsWidget
- Added validation for invalid inputs
0.2.0 #
- Added Selection Feature:
- Select cells by tap and drag
- Highlight selected cells in red
- Save selection as index array [0,1,2,3,...]
- Added CellsSelectionButtons widget with Save, Delete, Clear buttons
- Support selecting cell ranges, rows, and columns
- Improved CellsController with selection methods
- Improved CellsWidget with enableSelection mode
- Updated example app with selection demo
0.1.0 #
- Initial release
- Added CellsWidget to display grid cells
- Added CellsInputWidget with form input
- Added CellsController to manage state
- Support customizable screen size and number of cells
- Support callback when cell is selected
- Support customizable colors, border, and cell number display