A flexible widget for user notification. Customize your text, button, duration, animations and much more. For Android devs, it is made to replace Snackbars and Toasts.
Could not navigate to initial route.
The requested route name was: "/flushbarRoute"
There was no corresponding route in the app, and therefore the initial route specified will be ignored and "/" will be used instead.
This is the error message I get
Could not navigate to initial route. The requested route name was: "/flushbarRoute" There was no corresponding route in the app, and therefore the initial route specified will be ignored and "/" will be used instead.
And, this is how I used Flushbar
NavigationService.navigatorKey.currentContext is a global context key.