Preferences

Configure Flutter native preference tools with explicit stores and key allow-lists.

const preferences = AnsightPreferencesToolsOptions(
  allowedStores: <String>['standard'],
  allowedKeyPrefixes: <String>['debug.'],
);

Pass preferences through AnsightRemoteToolsOptions and choose an appropriate guard. The suite exposes prefs.list_keys, prefs.get_value, prefs.set_value, and prefs.remove_key.

Preference values can contain configuration or user state. Keep allowed stores, keys, and prefixes narrow; enable write or delete only for a specific repair workflow.