ChildBuilder typedef

ChildBuilder = Widget Function(BuildContext context, Widget? child)

A builder that builds a widget given a child.

The child should typically be part of the returned widget tree.

Implementation

typedef ChildBuilder = Widget Function(
  BuildContext context,
  Widget? child,
);