A comprehensive Flutter plugin to seamlessly navigate to various settings screens on both iOS and Android devices, ensuring compatibility with the latest versions of both platforms.
To integrate open_settings_plus
into your project, add it as a dependency in your pubspec.yaml
file.
import 'package:flutter/material.dart';
import 'package:open_settings_plus/open_settings_plus.dart';
void main() => runApp(MaterialApp(
home: Scaffold(
body: Center(
child: ElevatedButton(
onPressed: () {
switch (OpenSettingsPlus.shared) {
OpenSettingsPlusAndroid settings => settings.wifi(),
OpenSettingsPlusIOS settings => settings.wifi(),
_ => throw Exception('Platform not supported'),
}
},
child: Text('Wi-Fi Settings'),
),
),
),
)
);
For more examples and use-cases, refer to the example
directory.
Navigate directly to:
- Wi-Fi
- Data Roaming
- Location Source
- App Settings
- Bluetooth
- Notifications
- Security
- Sound
- Display
- Date & Time
- Device Information
- Internal Storage
- Memory Card
- Accessibility
- Add Account
- Airplane Mode
- APN Settings
- Application Details
- Application Development
- Application Notifications
- Application Write Settings
- Battery Saver
- Captioning
- Cast
- Data Usage
- App Notification Bubble
- Search
- Biometric Enrollment
- Hardware Keyboard
- Home
- Ignore Background Data Restrictions
- Ignore Battery Optimization
- Input Method
- Locale
- Manage All Applications
- Manage External Sources
- Manage Overlay ... and more features being added regularly!
Navigate directly to:
- Wi-Fi
- General Settings
- About
- Accessibility
- Account Settings
- Auto Lock
- Battery
- Bluetooth
- Date & Time
- Face ID & Passcode
- Cellular
- Dictionary
- Display & Brightness
- FaceTime
- General
- HealthKit
- iCloud
- Music
- Keyboard
- Language & Region
- Location Services
- Personal Hotspot
- Phone
- Photos & Camera
- Privacy
- Profiles & Device Management
- Software Update
- Storage & Backup
- Siri
- Sounds & Haptics ... and more features being added regularly!
This package was innovatively crafted by Yann Cabral. It was inspired by the fantastic work of Ali Hoseinpoor, aiming to overcome certain limitations.
Encountered an issue or have a feature in mind? We'd love to hear from you!
- Report issues or seek features here.
- Contributions via pull requests are always welcome!
This revised README provides a more structured and polished presentation of the plugin's features and usage.