FLUTTER ECOSYSTEM

flutter_phoenix

Easily restart your application from scratch, losing any previous state

Latest version
1.1.1
30-day downloads
43.2K
Likes
495
Pub points
70

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Flutter Phoenix is a utility package that enables developers to restart the entire Flutter application from scratch, effectively resetting all state and reinitializing the app. It's particularly useful during development for testing state recovery or handling unexpected errors by forcing a clean restart. The package provides a simple API to trigger a full app reload without requiring a manual hot restart or recompile. It integrates seamlessly into existing Flutter projects with minimal setup.

Use cases
  • Testing state recovery
  • Handling app crashes gracefully
  • Development debugging
  • Resetting complex app states
  • Simulating app restarts
Key features
  • One-line app restart
  • Preserves app configuration
  • Minimal boilerplate
  • Easy integration
  • No need for hot restart
Suitable for
  • Developers needing state reset
  • Testing scenarios
  • Debugging unstable state
  • Hot-restart alternatives
Considerations
  • Not intended for production use
  • May cause temporary UI flicker
  • Does not preserve user data
  • Requires careful usage in production
  • Limited to app-level restart
Supported platformsNot available

Install package

flutter pub add flutter_phoenix

Categories

Related projects