Giter Club home page Giter Club logo

settings_kit's Introduction

settings_kit

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.

Getting Started

dependencies:
		settings_kit: ^1.0.1

๐Ÿš€ Usage

Add this to your package's pubspec.yaml file:

import 'package:settings_kit/settings_kit.dart';
import 'package:flutter/material.dart';
import 'package:settings_kit/settings_kit.dart';

void main() => runApp(MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Settings_kit example app'),
        ),
        body: Center(
          child: SingleChildScrollView(
            child: Column(
              children: [
                TextButton(
                  onPressed: () {
                    if (Platform.isAndroid) {
                      SettingsKit.androidSettings.system();
                    } else if (Platform.isIOS) {
                      SettingsKit.iosSettings.system();
                    }
                  },
                  child: Text(
                    'system',
                    style: TextStyle(
                      fontSize: 13,
                      color: Theme.of(context).primaryColor,
                    ),
                  ),
                ),
                TextButton(
                  onPressed: () {
                    if (Platform.isAndroid) {
                      SettingsKit.androidSettings.wifi();
                    } else if (Platform.isIOS) {
                      SettingsKit.iosSettings.wifi();
                    }
                  },
                  child: Text(
                    'wifi',
                    style: TextStyle(
                      fontSize: 13,
                      color: Theme.of(context).primaryColor,
                    ),
                  ),
                ),
                TextButton(
                  onPressed: () {
                    if (Platform.isAndroid) {
                      SettingsKit.androidSettings.dateAndTime();
                    } else if (Platform.isIOS) {
                      SettingsKit.iosSettings.dateAndTime();
                    }
                  },
                  child: Text(
                    'dateAndTime',
                    style: TextStyle(
                      fontSize: 13,
                      color: Theme.of(context).primaryColor,
                    ),
                  ),
                ),
                TextButton(
                  onPressed: () {
                    if (Platform.isAndroid) {
                      SettingsKit.androidSettings.accessibility();
                    } else if (Platform.isIOS) {
                      SettingsKit.iosSettings.accessibility();
                    }
                  },
                  child: Text(
                    'accessibility',
                    style: TextStyle(
                      fontSize: 13,
                      color: Theme.of(context).primaryColor,
                    ),
                  ),
                ),
                TextButton(
                  onPressed: () {
                    if (Platform.isAndroid) {
                      SettingsKit.androidSettings.customAction('android.settings.APP_SEARCH_SETTINGS');
                    } else if (Platform.isIOS) {
                      SettingsKit.iosSettings.customAction('App-prefs:ACCESSIBILITY');
                    }
                  },
                  child: Text(
                    'custom action',
                    style: TextStyle(
                      fontSize: 13,
                      color: Theme.of(context).primaryColor,
                    ),
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    )
  );

For more examples and use-cases, refer to the example directory.

๐ŸŒŸ Features

Android:

Navigate directly to:

  • System Settings
  • Wi-Fi
  • Picture in Picture
  • Android Beam
  • NFC
  • Dream
  • sync
  • Add Account
  • Night Display
  • 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
  • App search
  • Battery Saver
  • Captioning
  • Cast
  • Data Usage
  • App Notification Bubble
  • Search
  • Biometric Enrollment
  • Hardware Keyboard
  • Home
  • Ignore Background Data Restrictions
  • Ignore Battery Optimization
  • Input Method
  • Input Method Subtype
  • Voice Input
  • Locale
  • Manage All Applications
  • Manage External Sources
  • Manage unknown app sources
  • Manage Overlay
  • custom Action ... and more features being added regularly!

iOS:

Navigate directly to:

  • System Settings
  • Maps
  • GameCenter
  • shortcuts
  • news
  • vpn
  • screen Time
  • 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
  • custom Action ... and more features being added regularly!

๐Ÿ™ Acknowledgments

This package refrence open_settings_plus implementation then My Project added new featured of part.

This package git repository is settings_kit.

๐Ÿž Bugs or Feature Requests

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.

settings_kit's People

Contributors

leossy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.