GridSectionedAdapter constructor

GridSectionedAdapter(
  1. List<SectionImage> items,
  2. dynamic onItemClick
)

Implementation

GridSectionedAdapter(this.items, onItemClick) {
  for (var i = 0; i < items.length; i++) {
    itemsTile.add(ItemTile(index: i, object: items[i], onClick: onItemClick));
  }
}