settings 0.0.4 copy "settings: ^0.0.4" to clipboard
settings: ^0.0.4 copied to clipboard

Flutter plugin providing jump to settings.

example/lib/main.dart

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

import 'package:flutter/services.dart';
import 'package:settings/settings.dart';

void main() => runApp(new MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => new _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: Scaffold(
      appBar: AppBar(
        title: Text('Settings'),
      ),
      body: Center(
        child: Column(children: <Widget>[
          SizedBox(
            height: 100.0,
          ),
          RaisedButton(onPressed: Settings.openWiFiSettings, child: new Text("Open wifi settings")),
        ]),
      ),
    ));
  }
}
1
likes
20
pub points
62%
popularity

Publisher

unverified uploader

Flutter plugin providing jump to settings.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on settings