Creates a new Snackbar instance using the given text and duration. view is used for accessing the themed context and hierarchy, to decide where to render the Snackbar