Using this widget inside a ListView
shows the artifacts outside the ListView
boundary.
#33
Labels
bug
Something isn't working
Using both the
NumberInputWithIncrementDecrement
andNumberInputPrefabbed
inside aListView
shows the respective background decoration of the increment/decrement buttons outside theListView
. This is a known issue in flutter and is related to theInk
widget used internally.A different approach should be created perhaps using the
MaterialButton
widget. But this means the type of decoration of the increment and decrement button should be adapted and its a breaking change. 😞 So I will wait for the main issue to be fixed at at first and then provide.Another option is to deprecate the existing option and use a different implementation without affecting existing users.
Existing users can use change the
cacheExtent
ofListView
to 0 to avoid this issue. However this may lead to performance issue in theListView
scrolling.TzvZgAvcET.mp4
The text was updated successfully, but these errors were encountered: