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

How to change a Silidable child's textstyle when it closes or opens #68

Closed
Siwuji opened this issue May 9, 2019 · 5 comments
Closed
Labels
enhancement New feature or request

Comments

@Siwuji
Copy link

Siwuji commented May 9, 2019

How to change a Silidable child's textstyle when it closes or opens?

@Siwuji
Copy link
Author

Siwuji commented May 9, 2019

I want to change it's color when it open , but i always change all children's color .
How to distinguish them?

@XinleZhou2018
Copy link

Hi, do you solve this problem?

@letsar letsar added the enhancement New feature or request label Nov 8, 2020
@letsar
Copy link
Owner

letsar commented Nov 8, 2020

I will see how to make this easier with the new refactoring.

@reidterror
Copy link

Any updates on this?

@letsar
Copy link
Owner

letsar commented Jul 16, 2021

On 1.0 you can get the SlidableController within any Slidable's child (Slidable.of(context)). With this controller you listen to some notifiers and do what you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

4 participants