open_settings_plus
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:
Navigate directly to:
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!
This revised README provides a more structured and polished presentation of the plugin's features and usage.