From 6b48d30bc1e92ff26c74b966b59850b0f03d2399 Mon Sep 17 00:00:00 2001 From: ndonkoHenri Date: Thu, 9 Jan 2025 03:30:33 +0100 Subject: [PATCH] wrap CupertinoBottomSheet content in a Material --- packages/flet/lib/src/controls/cupertino_bottom_sheet.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/flet/lib/src/controls/cupertino_bottom_sheet.dart b/packages/flet/lib/src/controls/cupertino_bottom_sheet.dart index f6dd4763e..13b432264 100644 --- a/packages/flet/lib/src/controls/cupertino_bottom_sheet.dart +++ b/packages/flet/lib/src/controls/cupertino_bottom_sheet.dart @@ -1,4 +1,5 @@ import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; import '../flet_control_backend.dart'; import '../models/control.dart'; @@ -68,7 +69,7 @@ class _CupertinoBottomSheetControlState ); } - return content; + return Material(child: content); } @override