InstanceCreateBuilderCallback<S> typedef

InstanceCreateBuilderCallback<S> = S Function(BuildContext _)

A callback function used to construct instances of type S with access to the current BuildContext.

The function takes a BuildContext parameter and returns an instance of type S.

Implementation

typedef InstanceCreateBuilderCallback<S> = S Function(BuildContext _);