notifyControlState method
Notifies state of ControlRoot. To change AppState use setAppState.
Implementation
bool notifyControlState([ControlArgs? args]) {
if (rootKey.currentState != null && rootKey.currentState!.mounted) {
rootKey.currentState!.notifyState(args);
return true;
}
printDebug('No State found to notify.');
return false;
}