jesusrp98 / expand_widget

Ability to easily expand and retract a widget collection or text
https://pub.dev/packages/expand_widget
GNU General Public License v3.0
45 stars 22 forks source link

Option to show more/less message #8

Closed JamesMcIntosh closed 4 years ago

JamesMcIntosh commented 4 years ago

Fixes #7

jesusrp98 commented 4 years ago

I'm going to implement some new features and improvements to this package this next few days, because it was something I was planning to do.

In the mean while, I'm going to think how this feature could be implemented, since I think there's a better way to do this. It has to be done right.

Thank for this and all the other contributions @JamesMcIntosh!!

JamesMcIntosh commented 4 years ago

Depends on how far you want to go to separate the two widgets.

If you keep the expansion widget inside of the ExpandText widget then using a Builder to construct the widget would work well.

If you really want to separate them you could as far as pushing the expanded state up the widget tree such as Provider.

jesusrp98 commented 4 years ago

I really like the idea of implementing such thing. But I want to do it right:

If you want to and have the time to improve this feature, I'll be more than happy to help you. This is a good start :)

jesusrp98 commented 4 years ago

This PR is no longer neccesarry, since another implementation have been performed in the next version.

Thank you very much @JamesMcIntosh ! Read #7 for more details :)