# gsettings 0.2.3

GSettings client




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'gsettings:0.2.3'
```
Published: 2021-12-13T20:34:30.166243Z
Expected archive SHA-256: 1ef45b759d03e3758815fc79ac7c9210edb35b642a8bcf27bc75dde3ab7b811a

Available in cache; verification: upstream_checksum
## Direct dependencies
- dbus: ^0.6.0
- xdg_directories: ^0.2.0

## Package README (untrusted upstream documentation)
[![Pub Package](https://img.shields.io/pub/v/gsettings.svg)](https://pub.dev/packages/gsettings)
[![codecov](https://codecov.io/gh/canonical/gsettings.dart/branch/main/graph/badge.svg?token=89Z2W8Z33D)](https://codecov.io/gh/canonical/gsettings.dart)

Provides a client to use [GSettings](https://developer.gnome.org/gio/stable/GSettings.html) - a settings database used for storing user preferences on Linux.

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

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

## Contributing to gsettings.dart

We welcome contributions! See the [contribution guide](CONTRIBUTING.md) for more details.

## Changelog
# Changelog

## 0.2.3

* Fix reading ranged values.

## 0.2.2

* Fix reading enums and flags.

## 0.2.1

* Support relocatable schemas.

## 0.2.0

* Initial release, replacing the existing ffi bindings.








 
