payam-zahedi / toastification

Toastification is a Flutter package for displaying customizable toast messages. It provides predefined widgets for success, error, warning, and info messages, as well as a custom widget for flexibility. With Toastification, you can add and manage multiple toast messages at the same time with ease.
https://payamzahedi.com/toastification/
BSD 3-Clause "New" or "Revised" License
567 stars 40 forks source link

Add max lines for title and message #105

Closed payam-zahedi closed 1 week ago

payam-zahedi commented 5 months ago

Describe the bug It would be better for the UX to have a default max lines for title and description fields

Its better to have the default max lines with elips effect

2 lines would be enough

Screenshots If applicable, add screenshots to help explain your problem.

image

laterdayi commented 4 months ago

Hope to follow up on this issue, thank you https://github.com/payam-zahedi/toastification/issues/101

DevTekoa commented 1 week ago

Hello! Why not use this as a parameter?

payam-zahedi commented 1 week ago

Hello @DevTekoa,

Just to clarify, you can already control the maxLines parameter through the Text widgets that are being passed to the title and description fields. Given this functionality, introducing an additional parameter for line limits may not be necessary.