I want to create a class which extends Snackbar but I couldn't find the constructor in the Google documentation. How should I add the constructor to the class:
import com.google.android.material.snackbar.Snackbar
class MySnackbar : Snackbar {
// Error: need a constructor
}