flutter_exit_app 1.1.4 copy "flutter_exit_app: ^1.1.4" to clipboard
flutter_exit_app: ^1.1.4 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);
41
likes
160
points
13.8k
downloads

Publisher

verified publisherlaoitdev.com

Weekly Downloads

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