flutter_exit_app 1.1.3 copy "flutter_exit_app: ^1.1.3" to clipboard
flutter_exit_app: ^1.1.3 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);
49
likes
160
points
16.5k
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)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_exit_app