simutil_shared 1.0.0 copy "simutil_shared: ^1.0.0" to clipboard
simutil_shared: ^1.0.0 copied to clipboard

UI-agnostic SimUtil app layer shared by the TUI and GUI (settings, app state, changelog, service wiring).

simutil_shared #

UI-agnostic app layer shared by the SimUtil TUI (simutil_tui) and the desktop GUI: settings in ~/.simutil/settings.yaml, app state in ~/.simutil/state.json, the bundled changelog, refresh intervals, and the ServiceLocator that wires device and plugin services.

Part of SimUtil.

Usage #

import 'package:simutil_shared/simutil_shared.dart';

Future<void> main() async {
  final services = ServiceLocator.instance;
  await services.init();
  final settings = await services.settingsService.load();
  print(settings.themeName);
  await services.dispose();
}

This package must not depend on nocterm or Flutter.

0
likes
150
points
45
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

UI-agnostic SimUtil app layer shared by the TUI and GUI (settings, app state, changelog, service wiring).

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

simutil_adb, simutil_apple, simutil_core, simutil_plugins, yaml

More

Packages that depend on simutil_shared