2.4.0
This release contains breaking changes for the experimental feature, BoxGrid. BoxGridScope's rowSpan and columnSpan modifier is replaced to span modifier. And also span modifier's parameter now receive BoxGridItemSpanScope instead of GridItemSpanScope. It contains more information for calculating box grid item span.
Changed
- Add
Modifier.positiontoBoxGridScopefor setting row/column cell position at the same time. - Add
Modifier.spantoBoxGridScopefor setting row/column span at the same time. - Add
BoxGridItemSpanScopeforspanmodifier ofBoxGridScope. - Add
BoxGridItemSpan. It is a container represents row/column span size. - Remove
Modifier.rowSpanandModifier.columnSpanfromBoxGridScope. - Remove deprecated
HorizontalGridandVerticalGridwithalignmentparameter.
Replace it to composable withcontentAlignmentparameter. - Fix remaining cell size distribution of
SimpleGridCellmore properly.