-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support for SnackBar style notifications #39
Conversation
close boyan01#31 expose ToastThemeData for toastTheme in OverlaySupport
add changelog
Hi , Thanks for your contribution. The notification pops up from the bottom, which is a good idea. I noticed that these commits are merged into the dev branch, it may be far away for merge this branch #29 into the master branch... So I think this changes can be merged directly into the master branch, but there are two points that may need reconfirm:
|
Hi, thank you! Okay cool, I can close this PR and make a new one from my fork's master branch to your master branch. In answer to your questions:
Additionally due to these differences it may better to make more distance between this and the |
Yes, you need open another pull request to merge to the master branch.
The idea is great, I agree with your. |
Okay great thanks, I've made the required changes for |
Hi, I need this functionality too. Can you show the modifications you made to the showSimpleNotification and showOverlayNotification? Thank you! |
Sorry. Got it! Thanks for making the changes. |
Hi, I've recently used this package to show a "No internet connection" message, and the use case was that the notification appear at the bottom of the screen like the
SnackBar
widget.I saw that there's no customisability in this regard. So I've made a few very small changes to
showSimpleNotification
,showOverlayNotification
and added a newBottomSlideNotification
to allow for behaviour that mimicsSnackBar
, with all the other benefits of this package.Improvements to my implementation can be made, for instance
BottomSlideNotification
only has a small difference toTopSlideNotification
so they could be merged with an optionalposition
parameter passed in. However, I didn't want to change the code too much so didn't implement this.Let me know what you think and if this is something you would want to bring into the main branch.