onCreateGridView method

UIGridView onCreateGridView()

Implementation

UIGridView onCreateGridView() {
  gridView = UIGridView(
    scrollDirection: scrollDirection,
    edgeInsets: edgeInsets,
    crossAxisCount: crossAxisCount,
    mainAxisSpacing: mainAxisSpacing,
    crossAxisSpacing: crossAxisSpacing,
    aspectRatio: aspectRatio,
    rows: rows,
    didScrollClosure: (offsety) {
      onDidScroll(offsety);
    },
  );
  return gridView!;
}