[pve-devel] [PATCH pve_flutter_frontend] widgets: migrate from ButtonBar to OverflowBar

Michael Köppl m.koeppl at proxmox.com
Fri May 2 09:24:28 CEST 2025


On 4/24/25 18:25, Shan Shaji wrote:
> The `ButtonBar` widget has been deprecated as of Flutter
> v3.21.0-10.0.pre. This patch replaces instance of `ButtonBar`
> with `OverflowBar`.
> 
> Signed-off-by: Shan Shaji <s.shaji at proxmox.com>

Quickly tested this by comparing the behavior of the previously 
implemented ButtonBar and the new OverflowBar and also checking for any 
unwanted visual changes. The bar behaves and looks the same, clickable 
elements still work as expected.

I also had a look at the Flutter documentation[0] for migrating from 
ButtonBar to OverflowBar. The recommended changes to keep the behavior 
identical to the ButtonBar were made in this patch, so everything looks 
good to me.

Please consider this
Tested-By: Michael Köppl <m.koeppl at proxmox.com>
Reviewed-By: Michael Köppl <m.koeppl at proxmox.com>

[0] https://docs.flutter.dev/release/breaking-changes/deprecate-buttonbar




More information about the pve-devel mailing list