quitter

Last updated:

0 purchases

quitter Image
quitter Images
Add to Cart

Description:

quitter

Quitter #
This is a plugin to quit both Android and iOS gracefully
Installation #
First, add quitter as a dependency in your pubspec.yaml file.
quitter: ^1.0.0
copied to clipboard
Example #
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: FlatButton(child: Text('Press to quit'), onPressed: () {
Quitter.quitApplication();
},),
),
),
);
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.