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

dynamic height (suggestion) #68

Open
vfiruz97 opened this issue Oct 10, 2024 · 1 comment
Open

dynamic height (suggestion) #68

vfiruz97 opened this issue Oct 10, 2024 · 1 comment

Comments

@vfiruz97
Copy link

Thanks for package. It looks good but it can only shows thee lines of text. Can you add dynamic height? Now its fixed 80 but if you bring that to parameters.
The second suggestion is about ability to define title widget.

@TijnvandenEijnde
Copy link

@vfiruz97 I don't think the package is actively maintained since the latest release was 16 months ago. If you are using their CustomSnackBar widget, you could consider creating a CustomSnackBar widget based on theirs. Instead of giving it a fixed height you could remove the height attribute of the Container widget and add BoxConstraints using the constraints attribute of the Container widget. Inside the BoxConstraints you can set the minHeight to 80. The Container widget will automatically adjust its height to ensure the content of the child widget is visible.

Depending on your use case you might have to make more changes, I hope this helps.

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