From 9e2c9cbba93f6ddb86417fa9ea8ba3637ec6de69 Mon Sep 17 00:00:00 2001 From: Sahil Yeole Date: Tue, 17 Oct 2023 18:57:53 +0530 Subject: [PATCH] add border radius Signed-off-by: Sahil Yeole --- flutter/lib/desktop/pages/connection_page.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/flutter/lib/desktop/pages/connection_page.dart b/flutter/lib/desktop/pages/connection_page.dart index 944fd0370..db0aaf801 100644 --- a/flutter/lib/desktop/pages/connection_page.dart +++ b/flutter/lib/desktop/pages/connection_page.dart @@ -346,12 +346,14 @@ class _ConnectionPageState extends State maxHeight += 50; }; return Align( alignment: Alignment.topLeft, - child: Material( + child: ClipRRect( + borderRadius: BorderRadius.circular(5), + child: Material( elevation: 4, child: ConstrainedBox( constraints: BoxConstraints( maxHeight: maxHeight, - maxWidth: 320, + maxWidth: 319, ), child: peers.isEmpty && isPeersLoading ? Container( @@ -371,7 +373,7 @@ class _ConnectionPageState extends State ), ), ), - ), + )), ); }, )