Skip to content
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

Modifier.fillMaxSize().weight(1f, true) is giving error #46

Open
GooDeeJAY opened this issue May 3, 2023 · 1 comment
Open

Modifier.fillMaxSize().weight(1f, true) is giving error #46

GooDeeJAY opened this issue May 3, 2023 · 1 comment

Comments

@GooDeeJAY
Copy link

Describe the bug
Usage example code in Readme.md is giving an error

To Reproduce
See the screenshot.

Expected behavior
No IDE errors

Screenshots
image

@TanotiCoder
Copy link

To achieve the equivalent of weights in Jetpack Compose, you can utilize modifiers like weight and weightSum in combination with the Box component or other layout components like Row or Column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants