ServiceWidget<T extends Service> constructor

const ServiceWidget<T extends Service>({
  1. Key? key,
  2. required CreateServiceCallback<T> init,
  3. Widget? child,
})

Implementation

const ServiceWidget({
  super.key,
  required this.init,
  Widget? child,
}) : _maybeChild = child;