xdg_locale 0.0.1 copy "xdg_locale: ^0.0.1" to clipboard
xdg_locale: ^0.0.1 copied to clipboard

PlatformLinux

Native Dart client library to access the D-Bus interface of systemd-localed.

example/example.dart

import 'package:xdg_locale/xdg_locale.dart';

void main() async {
  final service = XdgLocaleClient();
  await service.connect();
  print('X11 keyboard layout: ${service.x11Layout}');
  print('X11 keyboard variant: ${service.x11Variant}');
  await service.close();
}
copied to clipboard
0
likes
160
points
78
downloads

Publisher

verified publishercanonical.com

Weekly Downloads

2024.10.03 - 2025.04.17

Native Dart client library to access the D-Bus interface of systemd-localed.

Repository (GitHub)
Contributing

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

dbus, meta

More

Packages that depend on xdg_locale