InstanceContextBuilder<T> typedef

InstanceContextBuilder<T> = Widget Function(T inst, BuildContext context, 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 InstanceContextBuilder<T> = Widget Function(
  T inst,
  BuildContext context,
  Widget? child,
);