Is it possible to add an option, so that onQtyChanged is called only when a lonpress ends, instead of being called continuously?
The reason is that I want to change the qantity in a Cubit that triggers a reapaint of widgets and also set the value in a database table. For this, I'm only interested in the final quantity value, when the user stops increasing the value.
Is it possible to add an option, so that onQtyChanged is called only when a lonpress ends, instead of being called continuously?
The reason is that I want to change the qantity in a Cubit that triggers a reapaint of widgets and also set the value in a database table. For this, I'm only interested in the final quantity value, when the user stops increasing the value.