In different Kotlin examples for Android I see toast("Some message...") or toastLong("Some long message"). For example:
toast("Some message...")
toastLong("Some long message")
I have found very easy way to Toast from given link https://gist.github.com/felipearimateia/ee651e2694c21de2c812063980b89ca3. In this link Activity is used instead of Context. Try it.