ServiceWidgetBuilder<T extends Service> typedef

ServiceWidgetBuilder<T extends Service> = Widget Function(BuildContext context, T service)

Signature for a function that creates a widget using the given Service instance.

Implementation

typedef ServiceWidgetBuilder<T extends Service> = Widget Function(
  BuildContext context,
  T service,
);