# gsettings 0.2.9

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
```
Published: 2026-09-21T14:57:12.161119Z
Expected archive SHA-256: 5e3e299b871a16d142691aa91595a4d73bab7a7fa65d53db0bf2c576959aaefc

Available in cache; verification: upstream_checksum
## Direct dependencies
- dbus: ^0.8.0
- xdg_directories: ^1.0.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.9

* chore: bump dependency dbus to 0.8.0

## 0.2.8

* feat: support to specify schema directories
* chore: bump dependency xdg_directories to ^1.0.0

## 0.2.7

* Look for schemas in XDG_DATA_HOME.

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








 
