gsettings 0.2.0 copy "gsettings: ^0.2.0" to clipboard
gsettings: ^0.2.0 copied to clipboard

outdated

GSettings client

Pub Package

Provides a client to use GSettings - a settings database used for storing user preferences on Linux.

import 'package:dbus/dbus.dart';
import 'package:gsettings/gsettings.dart';

void main() async {
  var schema = GSettings('org.gnome.desktop.interface');
  var value = await schema.get('font-name');
  var font = (value as DBusString).value;
  print('Current font set to: $font');
}

Contributing to gsettings.dart #

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