Ubuntu Service

pub CI codecov

Simple service locator API based on GetIt.

import 'package:ubuntu_service/ubuntu_service.dart';

void main() {
  registerService<MyService>(MyService.new);
  ...
}

void somewhereElse() {
  final service = getService<MyService>();
  ...
}

GitHub

View Github