add border radius
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
1ad740800b
commit
9e2c9cbba9
@ -346,12 +346,14 @@ class _ConnectionPageState extends State<ConnectionPage>
|
|||||||
maxHeight += 50; };
|
maxHeight += 50; };
|
||||||
return Align(
|
return Align(
|
||||||
alignment: Alignment.topLeft,
|
alignment: Alignment.topLeft,
|
||||||
child: Material(
|
child: ClipRRect(
|
||||||
|
borderRadius: BorderRadius.circular(5),
|
||||||
|
child: Material(
|
||||||
elevation: 4,
|
elevation: 4,
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
maxHeight: maxHeight,
|
maxHeight: maxHeight,
|
||||||
maxWidth: 320,
|
maxWidth: 319,
|
||||||
),
|
),
|
||||||
child: peers.isEmpty && isPeersLoading
|
child: peers.isEmpty && isPeersLoading
|
||||||
? Container(
|
? Container(
|
||||||
@ -371,7 +373,7 @@ class _ConnectionPageState extends State<ConnectionPage>
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
)),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user