buildChildLayout method Null safety

  1. @override
Widget buildChildLayout(
  1. BuildContext context
)
override

Subclasses should override this method to build the layout model.

Implementation

@override
Widget buildChildLayout(BuildContext context) {
  return SliverGrid(
    delegate: childrenDelegate,
    gridDelegate: gridDelegate,
  );
}