smart_restart 0.1.0 copy "smart_restart: ^0.1.0" to clipboard
smart_restart: ^0.1.0 copied to clipboard

PlatformAndroid

Simple, no-setup app restart for Flutter. Clean relaunch on Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add smart_restart

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  smart_restart: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:smart_restart/smart_restart.dart';
6
likes
160
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Simple, no-setup app restart for Flutter. Clean relaunch on Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on smart_restart

Packages that implement smart_restart