settings_bundle
0.0.1, released 4 years ago by an unverified publisher
Retrieve and modify iOS native Settings bundle preferences from Flutter.
What it does
The plugin provides a simple API to get and set values stored in the iOS system-provided Settings app via a Settings bundle. It also allows listening to settings value changes via a stream.
AI-written summary of version 0.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to integrate your Flutter app preferences with the system-provided iOS Settings app
- You want to listen to changes made to native iOS settings values at runtime
Skip it when
- You are building for Android or non-iOS platforms (the plugin supports iOS only)
- You just need cross-platform key-value local storage without native iOS Settings app integration
Strengths
- Enables seamless integration with iOS system Settings bundles
- Provides a simple API for getting, setting, and listening to preference changes
Weaknesses
- Supports iOS only
- Requires manual configuration of a Settings.bundle in Xcode
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires creating and modifying a Settings.bundle template in your Xcode project under iOS resources.
final bool? isDarkMode = await SettingsBundle().get<bool>('theme_mode');
await SettingsBundle().set('theme_mode', true);Alternatives
Packages that do the same job and could replace settings_bundle.
- shared_preferences
Pick this if you need cross-platform simple key-value storage rather than native iOS Settings app integration.
97Compare
Works with
Packages commonly used together with settings_bundle: ones it builds on, ones built on it, and its own family.