v2.0.2
open_settings
Os pacotes de plugins Flutter mais completos para abrir telas de configurações diversas no Android e no iOS
211Curtidas 8,9 milDownloads em 30 dias150Pontos Pub
AndroidiOS
plugin do flutter
Lista de dependências 2 itens
{"sdk":"flutter"}{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
this plugin currently support jumping to :
Setting Screen.
this plugin currently work with android. I would be happy if someone can complete the code for the ios section because I did not work with swift myself.
To use this plugin, add open_settings as a dependency in your pubspec.yaml file.
For iOS, It will always go to app setting.
import 'package:flutter/material.dart';
import 'package:open_settings/open_settings.dart';
void main() => runApp(MaterialApp(
home: Scaffold(
body: Center(
child: ElevatedButton(
onPressed: () {
OpenSettings.openWIFISetting();
},
child: Text('Wi-fi Settings'),
),
),
),
));