onStateChange method
Implementation
void onStateChange(AppLifecycleState state) {
if (kDebugMode) {
print("on state change: $state");
}
}
void onStateChange(AppLifecycleState state) {
if (kDebugMode) {
print("on state change: $state");
}
}