GridList constructor

const GridList({
  1. Key? key,
  2. int rowNumber = 4,
  3. int selectedIndex = 0,
  4. dynamic onSelectIndex(
    1. int
    )?,
  5. required Widget itemBuilder(
    1. bool selected,
    2. int index,
    3. BuildContext context
    ),
  6. int? count,
  7. double spacing = 4,
})

Implementation

const GridList(
    {Key? key,
    this.rowNumber = 4,
    this.selectedIndex = 0,
    this.onSelectIndex,
    required this.itemBuilder,
    this.count,
    this.spacing = 4})
    : super(key: key);