show method

Future<void> show()

Adds GetSnackbar to a view queue. Only one GetSnackbar will be displayed at a time, and this method returns a future to when the snackbar disappears.

Implementation

Future<void> show() async =>
    GetRootState.controller.config.snackBarQueue.addJob(this);