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

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

Changelog #

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+.
1
likes
160
points
--
downloads
screenshot

Documentation

API reference

Publisher

verified publisherazerosoft.com

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

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

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on flutter_full_restart

Packages that implement flutter_full_restart