flutter
flutter copied to clipboard
Deprecate ButtonBar
As can be seen in https://github.com/flutter/flutter/issues/79171, the ButtonBar doesn't support the new button types, and it was promised that it would soon be deprecated. That was in April 2021.
It still hasn't been deprecated, and it still doesn't support the new button types.
It is slightly confusing to work with a class that doesn't support an aspect of Flutter, with no indication that it doesn't do so.
I'm not sure if it's gonna stay or not, but I thought I'd highlight the issue.
Thanks for the reminder! You are correct, ButtonBar and ButtonBarTheme should be (should have been) deprecated. ButtonBar use cases can be handled by OverflowBar, see for example https://github.com/flutter/flutter/pull/85358.
This issue is assigned to @HansMuller but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
This issue is assigned to @TahaTesser but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
I plan to fix issue this week
This is blocked by outdated customer_testing commit for flutter/packages, more details here
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.