Skip to main content

flutter_full_restart 2.0.0 copy "flutter_full_restart: ^2.0.0" to clipboard
flutter_full_restart: ^2.0.0 copied to clipboard

Restart or relaunch a Flutter app: full process or UI-only restart. Android, iOS, macOS, Web, Windows, Linux. Swift Package Manager ready.

Changelog #

2.0.0 - 2026-10-07 #

⚠ BREAKING CHANGES #

  • FullRestart.restart() no longer takes wipeData, keepPreferences or keepSecureStorage, and FullRestart.confirmAndRestart() is removed. Clear app data yourself before calling restart(), and show your own dialog first if you want the user to confirm. FullRestartPlatform.restart() now takes only killProcess.

Features #

  • make the package restart-only (5017c64)

1.0.1 - 2026-10-02 #

Documentation #

  • list the tested Flutter, Dart and platform versions (a2e08e3)

1.0.0 #

Initial release.

  • FullRestart.restart(): full process restart (RestartType.full) or UI-only restart (RestartType.ui).
  • Optional data wipe with wipeData, keepPreferences and keepSecureStorage.
  • FullRestart.confirmAndRestart(): asks the user with a dialog before restarting.
  • FullRestartScope: rebuilds the whole widget tree on a UI restart.
  • FullRestart.ensureInitialized(onUiRestart: ...) for custom UI-restart handling.
  • iOS: Swift Package Manager and CocoaPods support, privacy manifest included.
  • macOS: Swift Package Manager and CocoaPods support; relaunches the app bundle for a full restart and wipes only the app's own folders, also outside the App Sandbox.
  • Android: Java implementation that builds with AGP 7.x to 9.x, no Kotlin Gradle Plugin required.
  • Web: page reload with browser storage wipe, WebAssembly compatible.
  • Windows: relaunches the executable for a full restart, rebuilds the widget tree for a UI restart, and wipes the app's own AppData folders.
  • Linux: relaunches the executable for a full restart, rebuilds the widget tree for a UI restart, and wipes the app's own XDG cache and data folders.
  • Supports Flutter 3.22+ / Dart 3.4+.
6
likes
0
points
803
downloads

Publisher

verified publisherazerosoft.com

Weekly Downloads

Restart or relaunch a Flutter app: full process or UI-only restart. Android, iOS, macOS, Web, Windows, Linux. Swift Package Manager ready.

Homepage
Repository (GitHub)
View/report issues

Topics

#restart #relaunch #app-lifecycle #swift-package-manager

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on flutter_full_restart

Packages that implement flutter_full_restart