On this page

Important: Unlike any other components, and just like snackbar, the way to create a Toast is to use the toastManager, which is a function which accepts a toast object and some parameters. Check the source code to see how to use it.