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.sh...@proxmox.com> --- .../pve_task_log_expansiontile_widget.dart | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/lib/widgets/pve_task_log_expansiontile_widget.dart b/lib/widgets/pve_task_log_expansiontile_widget.dart index 6491b6b..ed4481b 100644 --- a/lib/widgets/pve_task_log_expansiontile_widget.dart +++ b/lib/widgets/pve_task_log_expansiontile_widget.dart @@ -119,24 +119,30 @@ class _PveTaskExpansionTileState extends State<PveTaskExpansionTile> { dense: true, subtitle: const Text('Shortlog'), ), - ButtonBar( - children: <Widget>[ - if (widget.showMorePage != null) + Padding( + padding: const EdgeInsets.only(right: 8, bottom: 8), + child: OverflowBar( + alignment: MainAxisAlignment.end, + spacing: 8, + overflowAlignment: OverflowBarAlignment.end, + children: <Widget>[ + if (widget.showMorePage != null) + OutlinedButton.icon( + onPressed: () => Navigator.of(context).push( + _createTaskLogRoute(taskLogBloc, widget.showMorePage)), + icon: const Icon(Icons.format_list_bulleted), + label: const Text('More Tasks'), + ), OutlinedButton.icon( - onPressed: () => Navigator.of(context).push( - _createTaskLogRoute(taskLogBloc, widget.showMorePage)), - icon: const Icon(Icons.format_list_bulleted), - label: const Text('More Tasks'), - ), - OutlinedButton.icon( - onPressed: () => showTaskLogBottomSheet(context, - taskLogBloc.apiClient, widget.task.node, widget.task.upid), - icon: const Icon(Icons.article), - label: const Text( - 'Full Log', - ), - ) - ], + onPressed: () => showTaskLogBottomSheet(context, + taskLogBloc.apiClient, widget.task.node, widget.task.upid), + icon: const Icon(Icons.article), + label: const Text( + 'Full Log', + ), + ) + ], + ), ) ], ); -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel