{"repo":"gabrimatic/restart_app","free":true,"listed":false,"github":"https://github.com/gabrimatic/restart_app","clone":"git clone https://github.com/gabrimatic/restart_app.git","description":"A Flutter plugin to restart or relaunch Flutter apps with platform-specific behavior, including opt-in iOS Flutter engine restart.","language":"Dart","stars":127,"topics":["dart","flutter","dartlang","flutter-package","library","flutter-restart"],"license":"MIT","category":"mobile-apps","readme_excerpt":"restart app Restart or relaunch your Flutter app from Dart with one call. Each platform uses the safest supported restart path available to Flutter apps. See the published docs for guides, reference, and deployment details. The platform behavior guide covers the exact native mechanism on each target. Quick start Add the dependency: Import and call: If you need to handle errors: Restart.restartApp() is the restart API. It returns a RestartResult with success , the resolved mode , and platform error details when the restart cannot be started. Customization Default behavior works for normal app restart flows. Pass options only when your app needs a specific platform behavior. Parameters Parameter Platform Description ----------- ---------- ------------- mode All Requested restart behavior: platformDefault , flutterEngine , process , or notificationFallback . webOrigin Web Custom URL for the reload. When null, the current page reloads and keeps its route. Supports hash strategy (e.g. '#/home' ). notificationTitle iOS Title of the local notification shown only when mode is notificationFallback . Defaults to Restart . notificationBody iOS Body of the local notification shown only when mode is notificationFallback . Defaults to Tap to reopen the app. forceKill Android When true , fully terminates the process after launching the new activity. Defaults to false . RestartMode.process enables this path automatically on Android. Platform behavior Platform Mechanism Limitations ----------","default_branch":null,"files":null,"tree":[],"storefront":"/r/gabrimatic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gabrimatic/restart_app/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}