Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.0

### Bug fixes

* Fix `CupertinoBottomSheet` painting an opaque rectangular background behind custom content, which obscured rounded corners and transparent padding. Its `Material` wrapper is now transparent while preserving normal text styling ([#4761](https://github.com/flet-dev/flet/issues/4761), [#6780](https://github.com/flet-dev/flet/pull/6780)) by @ndonkoHenri.

## 0.86.7

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/flet/lib/src/controls/cupertino_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class _CupertinoBottomSheetControlState
);
}

return Material(child: child);
return Material(type: MaterialType.transparency, child: child);
}

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ env/
# Flet
.flet/
build/
storage/

# IDE
.idea/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dev = [
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]

[tool.flet]
{%- if cookiecutter.platform == "linux" %}
Expand Down
Loading