yanncabral / open_settings_plus

The most complete flutter plugin packages for open various settings screen in Android and newer iOS.
MIT License
18 stars 13 forks source link

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.

πŸš€ Usage

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.

🌟 Features

Android:

Navigate directly to:

iOS:

Navigate directly to:

πŸ™ Acknowledgments

This package was innovatively crafted by Yann Cabral. It was inspired by the fantastic work of Ali Hoseinpoor, aiming to overcome certain limitations.

🐞 Bugs or Feature Requests

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.