⚠️ This library has been deprecated as official support is now available in Compose 1.4.0. Please see our Migration Guide for how to migrate.
Flow layouts adapted from the Jetpack Compose alpha versions.
Unlike the standard Row and Column composables, these lay out children in multiple rows/columns if they exceed the available space.
FlowRow {
// row contents
}
FlowColumn {
// column contents
}
For examples, refer to the samples.
For more information, visit the documentation: https://google.github.io/accompanist/flowlayout
repositories {
mavenCentral()
}
dependencies {
implementation "com.google.accompanist:accompanist-flowlayout:<version>"
}
Snapshots of the development version are available in Sonatype's snapshots
repository. These are updated on every commit.