# gsettings 0.2.6

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




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'gsettings:0.2.6'
```
Published: 2022-11-23T01:46:02.304593Z
Expected archive SHA-256: 3247279b113d5d87d4114a5d2f34583fe4c035551c9481c7585d6746b0d04d68

Available in cache; verification: upstream_checksum
## Direct dependencies
- dbus: ^0.7.8
- 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:gsettings/gsettings.dart';

void main() async {
  var settings = GSettings('org.gnome.desktop.interface');
  var value = await settings.get('font-name');
  var font = value.asString();
  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.6

* Support memory and keyfile backends.
* Use broadcast streams for keys changed.
* Support multiple directories in GSETTINGS_SCHEMA_DIR.
* Use dbus 0.7.8.
* Use lints 2.0.
* Test improvements.

## 0.2.5

* Update to dbus 0.7

## 0.2.4

* Only list as supporting Linux.

## 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.








 
