updateAppBar method
Implementation
void updateAppBar(BuildContext context, PreferredSizeWidget? appBar) {
_runWhenReady(
context, () => Actions.invoke(context, AppBarBuildIntent(appBar)));
}
void updateAppBar(BuildContext context, PreferredSizeWidget? appBar) {
_runWhenReady(
context, () => Actions.invoke(context, AppBarBuildIntent(appBar)));
}