init method
void
init({
Initializes the snackbar service
This must be called before showing any snackbars.
navigatorKey is optional but recommended for reliable overlay access
Implementation
void init({GlobalKey<NavigatorState>? navigatorKey}) {
_navigatorKey = navigatorKey;
_isInitialized = true;
}