UpdateMiniCardsGridOptions constructor

UpdateMiniCardsGridOptions(
  1. {required int rows,
  2. required int cols,
  3. bool defal = true,
  4. int actualRows = 2,
  5. required UpdateMiniCardsGridParameters parameters}
)

Constructor for UpdateMiniCardsGridOptions.

rows and cols specify the number of rows and columns in the grid. defal determines if the main grid should be updated (true) or the alternate grid (false). actualRows is the number of rows used in the grid layout calculation. parameters holds the necessary functions and configurations for the grid update.

Implementation

UpdateMiniCardsGridOptions({
  required this.rows,
  required this.cols,
  this.defal = true,
  this.actualRows = 2,
  required this.parameters,
});