flutter_exit_app 1.1.2 copy "flutter_exit_app: ^1.1.2" to clipboard
flutter_exit_app: ^1.1.2 copied to clipboard

A flutter plugin provides the best way to exit the app doesn't call exit(0) in dart code.

flutter_exit_app #

A flutter plugin provides the best way to exit the app doesn't call exit(0) in dart code.

Install #

add plugin to your pubspec.yaml

flutter_exit_app: release

Usage #

  • import plugin
import 'package:flutter_exit_app/flutter_exit_app.dart';
  • call exit app static method
// call this to exit app
FlutterExitApp.exitApp();

for IOS if you need to force exit app set iosForceExit to true

// force exit in ios
FlutterExitApp.exitApp(iosForceExit: true);
28
likes
140
pub points
96%
popularity

Publisher

verified publisherlaoitdev.com

A flutter plugin provides the best way to exit the app doesn't call exit(0) in dart code.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_exit_app