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

Does not update when value is changed from outside #13

Open
ened opened this issue Jul 13, 2021 · 1 comment
Open

Does not update when value is changed from outside #13

ened opened this issue Jul 13, 2021 · 1 comment

Comments

@ened
Copy link

ened commented Jul 13, 2021

Given code like this:

TouchSpin(
  min: 0,
  max: 99999,
  value: outsideValue,
)

Then the TouchSpin widget does not update if outsideValue is changed on the next rebuild. outsideValue may come from state, bloc etc.

Tested w/ flutter_touch_spin: ^2.0.0-nullsafety.1

@vasilich6107
Copy link
Contributor

@ened the PR with fix has arrived)

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