restart_app 1.0.3
restart_app: ^1.0.3 copied to clipboard
A simple package that helps you to restart the whole android app with a single function call.
Restart app in Flutter #
A simple plugin to restart your flutter application WITH NATIVE APIs.
How to use it?
1. Add the package to pubspec.yaml dependency:
dependencies:
restart_app: ^1.0.3
2. Import package:
import 'package:restart_app/restart_app.dart';
3. Call the restartApp method where ever you want:
onPressed: () {
Restart.restartApp();
}