Bernardo Ferrari
Bernardo Ferrari
Here is what Flutter does. `DragGestureRecognizer` (slider) is currently locked to primary button. `MultiDragGestureRecognizer` doesn't lock to anything (this proposal). `MultiTapGestureRecognizer`, `ForcePressGestureRecognizer` and `ScaleGestureRecognizer` *could* have unexpected behaviors since they...
I renamed it again, and fixed the tests. If/after this lands, we could update DragGestureRecognizer (sliders) to do the same, so they would share a similar API. This is my...
cc @moffatman after many many many comments and changes, now is your time to review! 🎉
I agree `buttons` is not clear, but everybody is struggling to find a better name (specially since the internal methods use buttons and the user will need bit-wise operations for...
Testing a new name: `ButtonsEventFilter buttonsEventFilter`. The review comments are fixed, and documentation is improved.
Friendly ping @Piinks. How do you feel about the updated naming (`buttonsEventFilter`)?
It calls `toString()` which you are not overriding. Some plugins (Equatable) automatically make the toString for you. This should also get easier with macro in a few years (like add...
He is overriding, his issue is that when they are different, the error message calls toString which he isn't overriding. If it can know the value is incorrect, it can...
It would be nice if the API aligned with the Cupertino segmented control, it looks probably more similar than `ToggleButtons`.
Yes, there is FilledButton now. https://github.com/flutter/flutter/pull/107382