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

[Feature list] v1.0 #13

Closed jesusrp98 closed 4 years ago

jesusrp98 commented 4 years ago

I'm going to lay down most of the new features & enhancements that will be implemented in the v1.0 update. All chages will reside inside the dev branch.

Write a comment if you want your idea to be included in this new update! Thanks for your collaboration :)

jesusrp98 commented 4 years ago

New things have been added!

Expect more features in the coming days!

jesusrp98 commented 4 years ago

And one last very cool feature: the ability to hide the expansion arrow! With hideArrowOnExpansion you can now hide programatically the arrow when its child expands.

This will be the last feature implemented in this huge release! What's now left is to write ALL test code necesary, in order to get a pretty good code coverage. It will take me about a week or so, so stay tuned!

Zazo032 commented 4 years ago

As 1.0 has been released, could you provide a migration guide for the ShowChild deprecation?

jesusrp98 commented 4 years ago

Yeah, I'll launch a small version later today with the info about how to upgrade!!

But basically, a ShowChild widget is just a simple ExpandWidget but display only text, and hide the 'expand' text once it's expanded. Both features have been implemented inside ExpandWidget, so the other component is redundant and will not be supported in future releases.

jesusrp98 commented 4 years ago

Added! Here's the explanation:

This widget is now considered as **deprecated**, you should not use it.

In order to get the same functionallity offered by this widget,
just use a regular `ExpandChild` widget, with the `expandArrowStyle`
property set to `ExpandArrowStyle.text`, and `hideArrowOnExpanded`
set to `true`.
Zazo032 commented 4 years ago

Thanks @jesusrp98!