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

First party support for Compose UI #632

Open
1 task done
saket opened this issue Jan 5, 2024 · 2 comments
Open
1 task done

First party support for Compose UI #632

saket opened this issue Jan 5, 2024 · 2 comments

Comments

@saket
Copy link

saket commented Jan 5, 2024

While Compose UI has good interop APIs to work with Views, it'd be superb if flexbox-layout had a first party support for compose.

FlexboxRow(
  modifier = Modifier.fillMaxWidth(),
  flexWrap = FlexWrap.Wrap,
  divider = { … },
) {
  Text("")
  Text("")
  Text("")
}

Version of the flexbox library

3.0.0

@saket saket changed the title Better support for Compose UI First party support for Compose UI Jan 5, 2024
@mtotschnig
Copy link

Compose has FlowRow and FlowColumn, which should cover most of the functionality this library provides. Am I missing something?

@saket
Copy link
Author

saket commented May 15, 2024

You're correct that it covers many of the functionalities, but not all of them. IIRC there's no equivalent for FlexDirection and FlexWrap.

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