onRestart property

VoidCallback? onRestart
final

A callback that is called when the application is resumed after being paused.

On mobile platforms, this happens just before this application takes over as the active application.

On desktop platforms and the web, this function is not called.

Implementation

final VoidCallback? onRestart;