Skip to content

Commit 39ffdc6

Browse files
committed
Fix border radius
1 parent 209e15c commit 39ffdc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/lib/widgets/components/general/toasts.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ class ToastDisplay extends HookConsumerWidget {
182182
bottom: 0,
183183
child: SingleChildScrollView(
184184
child: Column(
185+
mainAxisSize: MainAxisSize.min,
185186
children: [
186187
for (final toast in toasts)
187188
if (toast is TemporaryToast)
@@ -259,6 +260,10 @@ class _TemporaryToast extends HookConsumerWidget {
259260
return Card(
260261
color: toast.color,
261262
elevation: 4.0,
263+
shape: RoundedRectangleBorder(
264+
borderRadius: BorderRadius.circular(8.0),
265+
),
266+
clipBehavior: Clip.antiAlias,
262267
child: SizedBox(
263268
width: width,
264269
child: Column(

0 commit comments

Comments
 (0)