consumers\calculate_rows_and_columns library
Classes
- CalculateRowsAndColumnsOptions
- Options for calculating the number of rows and columns in a grid layout.
Functions
-
calculateRowsAndColumns(
CalculateRowsAndColumnsOptions options) → List< int> - Calculates the number of rows and columns needed to display a given number of items in a grid.
Typedefs
-
CalculateRowsAndColumnsType
= List<
int> Function(CalculateRowsAndColumnsOptions options) -
Type definition for the
calculateRowsAndColumns
function.