flutter_iterum

Last updated:

0 purchases

flutter_iterum Image
flutter_iterum Images
Add to Cart

Description:

flutter iterum

Flutter Iterum #
Easily restart your application from scratch.
Usage #
Wrap you App widget in the Iterum widget.
void main() {
runApp(
Iterum(
child: App(),
),
);
}
copied to clipboard
Call the revive static method when you want to restart your application (rebuild the entire widget from scratch).
Iterum.revive(context);
copied to clipboard

Disclaimer :
Iterum restarts your application at the application level, rebuilding your application widget tree from scratch, losing any previous state.
Iterum does not fully restart your application process at the OS level.

Use cases #
Here is a non-exhaustive list of use cases where Iterum can help :

restart the app after a logout
restart the app after a failed app initialization process
restart the app after a specific event in the app occurs
...

Installation #
Dependency #
Add the package as a dependency in your pubspec.yaml file.
dependencies:
flutter_Iterum: "^1.0.0"
copied to clipboard
Import #
Import the package in your code file.
import 'package:flutter_Iterum/flutter_Iterum.dart';
copied to clipboard
License #
Flutter Iterum is released under the MIT License

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.