InstanceChildBuilder<T> typedef

InstanceChildBuilder<T> = Widget Function(BuildContext context, T inst, Widget? child)

This function type can be used as a callback to build a widget tree based on an instance of T type.

Implementation

typedef InstanceChildBuilder<T> = Widget Function(
  BuildContext context,
  T inst,
  Widget? child,
);