Package-level declarations
Types
Provide layout configuration options to a Collection
A receiver for lambdas that create a component within a ContainerDsl. Prevents accidental calls to child()
Specifies how a Collection will wrap its contents across the cross axis. For example, in a horizontal list, the cross axis is vertical, meaning this enum controls how the Collection will determine its height.
A container for the children of a Lazy Collection. Manages the creation of ids, and callback registration.
A controller that can be set on a LazyCollection to trigger external events. Most calls should be made on the main thread e.g. within a Style.onClick { }
callback.
A callback triggered when a LazyCollection is scrolled "near" to a specific position, as defined by being within offset items away.
A component that overlays a render count on top of its children.
Functions
A scrollable collection of components arranged in a grid
A scrollable collection of components arranged linearly
A scrollable collection of components arranged in a staggered grid
An ItemDecoration
to add spacing around list items in a Collection. It is intended for use with linear collections (which is the default layout, see CollectionLayouts.Linear), and wont work with grids or staggered grids.
Scroll the LazyCollection by a given number of pixels. The Scroll is instant. For an animated scroll use smoothScrollBy.
Scroll the LazyCollection so that the child with the given id is fully visible. For an animated scroll use smoothScrollToId.
Scroll the LazyCollection so that the child at the given index is fully visible. For an animated scroll use smoothScrollToIndex.
Perform and animated scroll on the LazyCollection by a given number of pixels. For an instantaneous scroll use scrollBy.
Perform an animated scroll on the LazyCollection so that the child with the given id is fully visible. For an animated scroll use smoothScrollToId.
Perform an animated scroll on the LazyCollection so that the child at the given index is fully visible. For an instantaneous scroll use scrollToIndex.