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
jzr-supove opened this issue May 3, 2023 · 2 comments
Open

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

jzr-supove opened this issue May 3, 2023 · 2 comments

Comments

@jzr-supove
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.

@yashgstwt
Copy link

Screenshot (36)
we have to give these 2 mandatory parameters to work

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

3 participants