# shared_preferences_foundation (Pub package)

> iOS and macOS implementation of the shared_preferences plugin.

- Version: 2.6.1
- Released: 2026-10-27
- License: License unknown
- Monthly downloads: 8,729,521
- Source repository: https://github.com/flutter/packages ([in the GitHits index](https://index.githits.dev/repositories/github.com/flutter/packages/))

## Pages

- [shared_preferences_foundation on GitHits](https://index.githits.dev/packages/pub/shared_preferences_foundation/)
- [Direct dependencies of shared_preferences_foundation 2.6.1](https://index.githits.dev/packages/pub/shared_preferences_foundation/2.6.1/dependencies/)
- [Security advisories of shared_preferences_foundation 2.6.1](https://index.githits.dev/packages/pub/shared_preferences_foundation/2.6.1/security/)
- [Documentation of shared_preferences_foundation 2.6.1](https://index.githits.dev/packages/pub/shared_preferences_foundation/2.6.1/docs/)

## Use it from a coding agent

GitHits gives coding agents version-aware access to shared_preferences_foundation: they can search, grep and read its source and documentation, and check its dependencies and security advisories, through MCP or the CLI instead of guessing from training data.

Connect an agent with one command, which detects installed agents, configures them and signs in:

```sh
npx githits@latest init
```

- [Remote MCP server](https://mcp.githits.com) (Streamable HTTP)
- [Agent documentation index](https://docs.githits.com/llms.txt)
- [API overview](https://docs.githits.com/api/overview)
- [Explore the GitHits index](https://index.githits.dev/)
