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.

xdg_locale.dart #

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

CI codecov

Example #

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();
}

Contributing to xdg_locale.dart #

We welcome contributions! See the contribution guide for more details.

0
likes
160
pub points
36%
popularity

Publisher

verified publishercanonical.com

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

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MPL-2.0 (LICENSE)

Dependencies

dbus, meta

More

Packages that depend on xdg_locale