ICollectionCellSizeProvider
Supplies the size of a single cell in a collection layout. Collection views query this provider when laying out cells so that cell dimensions can adapt to the available width.
Methods
Return the desired cell size given the width available to the collection.
Parameters
width
number
The width available for laying out cells, in logical pixels.