Skip to content

Instantly share code, notes, and snippets.

@victorbrndls
Created October 19, 2021 21:42
Show Gist options
  • Save victorbrndls/5bb35efb404dc5b982d5da915132b3b2 to your computer and use it in GitHub Desktop.
Save victorbrndls/5bb35efb404dc5b982d5da915132b3b2 to your computer and use it in GitHub Desktop.
align
alignBy
// animateEnterExit modifier can be used for any direct or indirect children
// of AnimatedVisibility to create a different enter/exit animation than
// what's specified in AnimatedVisibility.
animateEnterExit(enter, exit)
border
background
clip
clipToBounds
drawBehind
drawWithCache
drawWithContent
// The draw layer can be invalidated separately from parents.
// scaleX, scaleY, rotationXYZ, alpha, shadowElevation, shape, clip, shape
// Use with state values such as ScrollState or LazyListState
graphicsLayer
shadow
zIndex
onKeyEvent
// Creates a LayoutModifier that allows changing how the wrapped element is
// measured and laid out.
layout
absoluteOffset
offset
fillMaxHeight, fillMaxWidth, fillMaxSize
// matches the size of the Box after all other children have been measured
// to obtain the Box's size.
matchParentSize
heighIn(min, max), widthIn(min, max)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment