Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snack bar message should be optional #37

Closed
VictorUvarov opened this issue Apr 14, 2020 · 3 comments
Closed

Snack bar message should be optional #37

VictorUvarov opened this issue Apr 14, 2020 · 3 comments

Comments

@VictorUvarov
Copy link

Currently the SnackBar message is required, which leads to a large sized SnackBar. Sometimes a small quick message is all I want to show.

@jonataslaw
Copy link
Owner

Currently the SnackBar message is required, which leads to a large sized SnackBar. Sometimes a small quick message is all I want to show.

Hi, Get.snackbar was designed to have a title and a message. If you want to build a different snackbar, use GetBar().show (don't forget the "show" to have it displayed), and you will have all the customizable details to decide.

Example:

  GetBar(
          messageText: Text("Anything"),
          duration: Duration(seconds: 3),
        ).show();

@VictorUvarov
Copy link
Author

Thanks didn't know that API existed

@jonataslaw
Copy link
Owner

Thanks didn't know that API existed

My mistake, there was this documentation and at some point it ended up being removed.
I will include it again in the documentation asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants