I show a snackbar if network connectivity isn't there. I have created a separate stateful widget to check the connectivity and show the bar but I will have to add it to all the screens and so was wondering if there is a better way to include it in all the screens somehow.