Skip to content

fix: CupertinoBottomSheet applies a red color and yellow underline to Text content #4673

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 16, 2025
3 changes: 2 additions & 1 deletion packages/flet/lib/src/controls/cupertino_bottom_sheet.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

import '../flet_control_backend.dart';
import '../models/control.dart';
Expand Down Expand Up @@ -68,7 +69,7 @@ class _CupertinoBottomSheetControlState
);
}

return content;
return Material(child: content);
}

@override
Expand Down