https://github.com/jarroyoesp/visibilitymaterial3
https://github.com/jarroyoesp/visibilitymaterial3
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jarroyoesp/visibilitymaterial3
- Owner: jarroyoesp
- Created: 2022-10-07T06:46:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-08T07:20:34.000Z (almost 2 years ago)
- Last Synced: 2025-02-07T21:24:33.947Z (3 months ago)
- Language: Kotlin
- Size: 112 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VisibilityMaterial3
Sample project to show how 'Visibility.Gone' looks like in a ConstraintLayout:
```
Checkbox(
checked = false,
onCheckedChange = { },
modifier = Modifier
.constrainAs(selectorRef) {
top.linkTo(parent.top)
start.linkTo(parent.start)
bottom.linkTo(parent.bottom)
visibility = Visibility.Gone
}
)
```
# Updated June 8th 2023
After update dependencies(`androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha09`), the issue is fixed.
More info here: https://issuetracker.google.com/issues/251721175