I recently needed to pass the BuildContext into my child viewModels so that I can display a snackbar. And I also at the same time moved a function which does
snackbar