ServiceWidget<T extends Service> constructor
const
ServiceWidget<T extends Service> ({
- Key? key,
- required CreateServiceCallback<
T> init, - Widget? child,
Implementation
const ServiceWidget({
super.key,
required this.init,
Widget? child,
}) : _maybeChild = child;