childBuilder property

Widget Function(Widget itemBuilder(Widget child, int index))? childBuilder
final

Enable support for GridView.builder using this function.

This function allows rendering all children using a builder. Make sure your GridView.builder calls childBuilder to return widgets that support animations and drag-and-drop functionality.

Implementation

final Widget Function(
  Widget Function(Widget child, int index) itemBuilder,
)? childBuilder;