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
copied to clipboard

Usage #

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

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

// force exit in ios
FlutterExitApp.exitApp(iosForceExit: true);
copied to clipboard
45
likes
160
points
17.1k
downloads

Publisher

verified publisherlaoitdev.com

Weekly Downloads

2024.09.15 - 2025.03.30

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