• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle













  • Pure widgets are just ones that don’t contain state. You pick which one you need based on which one you need, so in your case you need state because you must store what’s within the number input box.

    I’m not wholly familiar with iced, but I’d venture to guess the example you looked at didn’t need to store state so it was able to use a non-mutable view, whereas you need to store it so that example doesn’t exactly work for you. However it could just be a bit out of date, and I’m sure they’d appreciate a PR