ServiceFactory<T extends Service> typedef

ServiceFactory<T extends Service> = T Function(BuildContext context)

Signature for a function that creates a Service instance. Typically used to provide a service to a ServiceBuilder.

Implementation

typedef ServiceFactory<T extends Service> = T Function(BuildContext context);