Modifier Index
absoluteOffset |
Offset the content by |
absolutePadding |
Apply additional space along each edge of the content in |
alpha |
Draw content with modified alpha that may be less than 1. |
anchoredDraggable |
Enable drag gestures between a set of predefined values. |
animateBounds |
|
animateContentSize |
This modifier animates its own size when its child modifier (or the child composable if it is already at the tail of the chain) changes size. |
animateFloatingActionButton |
Apply this modifier to a |
appendTextContextMenuComponents |
Adds a |
approachLayout |
Creates an approach layout intended to help gradually approach the destination layout calculated in the lookahead pass. |
aspectRatio |
Attempts to size the content to match a specified aspect ratio by trying to match one of the incoming constraints in the following order: |
background |
|
basicMarquee |
Applies an animated marquee effect to the modified content if it's too wide to fit in the available space. |
blur |
Draw content blurred with the specified radii. |
border |
Modify element to add border with appearance specified with a |
bringIntoViewRequester |
Modifier that can be used to send |
bringIntoViewResponder |
A parent that can respond to |
captionBarPadding |
Adds padding to accommodate the |
clearAndSetSemantics |
Clears the semantics of all the descendant nodes and sets new semantics. |
clickable |
Configure component to receive clicks via input or accessibility "click" event. |
clip |
Clip the content to |
clipScrollableContainer |
Clips bounds of scrollable container on main axis while leaving space for background effects (like shadows) on cross axis. |
clipToBounds |
Clip the content to the bounds of a layer defined at this modifier. |
combinedClickable |
Configure component to receive clicks, double clicks and long clicks via input or accessibility "click" event. |
composed |
Declare a just-in-time composition of a |
consumeWindowInsets |
Consume insets that haven't been consumed yet by other insets Modifiers similar to |
contentColorProvider |
Provides |
contentReceiver |
Configures the current node and any children nodes as a Content Receiver. |
contentType |
Set autofill hint with |
defaultMinSize |
Constrain the size of the wrapped layout only when it would be otherwise unconstrained: the |
depthEffect |
Renders shadows for the provided |
displayCutoutPadding |
Adds padding to accommodate the |
dragAndDropSource |
|
dragAndDropTarget |
A modifier that allows for receiving from a drag and drop gesture. |
draggable |
Configure touch dragging for the UI element in a single |
draggable2D |
Configure touch dragging for the UI element in both orientations. |
drawBehind |
Draw into a |
drawWithCache |
Draw into a |
drawWithContent |
Creates a |
dropShadow |
Draws a drop shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined the |
edgeSwipeToDismiss |
Handles swipe to dismiss from the edge of the viewport. |
edgeSwipeToDismiss |
Handles swipe to dismiss from the edge of the viewport. |
excludeFromSystemGesture |
Excludes the layout rectangle from the system gesture. |
fillMaxHeight |
Have the content fill (possibly only partially) the |
fillMaxSize |
Have the content fill (possibly only partially) the |
fillMaxWidth |
Have the content fill (possibly only partially) the |
filterTextContextMenuComponents |
Adds a |
fitInside |
Fits the contents within |
fitOutside |
If one of the |
focusGroup |
Creates a focus group or marks this component as a focus group. |
focusModifier |
Add this modifier to a component to make it focusable. |
focusOrder |
Use this modifier to specify a custom focus traversal order. |
focusProperties |
This modifier allows you to specify properties that are accessible to |
focusRequester |
Add this modifier to a component to request changes to focus. |
focusRestorer |
This modifier can be used to save and restore focus to a focus group. |
focusTarget |
Add this modifier to a component to make it focusable. |
focusable |
Configure component to be focusable via focus system or accessibility "focus" event. |
graphicsLayer |
A |
handwritingDetector |
Configures an element to act as a handwriting detector which detects stylus handwriting and delegates handling of the recognised text to another element. |
handwritingHandler |
Configures an element to act as a stylus handwriting handler which can handle text input from a handwriting session which was triggered by stylus handwriting on a handwriting detector. |
height |
Declare the preferred height of the content to be exactly |
heightIn |
Constrain the height of the content to be between |
hierarchicalFocusGroup |
|
horizontalScroll |
Modify element to allow to scroll horizontally when width of the content is bigger than max constraints allow. |
hoverable |
Configure component to be hoverable via pointer enter/exit events. |
imeNestedScroll |
Controls the soft keyboard as a nested scrolling on Android |
imePadding |
Adds padding to accommodate the |
indication |
Draws visual effects for this component when interactions occur. |
innerShadow |
Draws an inner shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined the |
inspectable |
Use this to group a common set of modifiers and provide |
keepScreenOn |
A modifier that keeps the device screen on as long as it is part of the composition on supported platforms. |
layout |
Creates a |
layoutBounds |
This will map the |
layoutId |
Tag the element with |
layoutId |
Alternative to |
magnifier |
Shows a |
mandatorySystemGesturesPadding |
Adds padding to accommodate the |
minimumInteractiveComponentSize |
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
minimumInteractiveComponentSize |
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
minimumInteractiveComponentSize |
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
modifierLocalConsumer |
A Modifier that can be used to consume |
modifierLocalProvider |
A Modifier that can be used to provide |
motionEventSpy |
Calls |
navigationBarsPadding |
Adds padding to accommodate the |
nestedScroll |
Modify element to make it participate in the nested scrolling hierarchy. |
offset |
Offset the content by |
onConsumedWindowInsetsChanged |
Calls |
onFirstVisible |
Registers a callback to monitor when the node is first inside of the viewport of the window or not. |
onFocusChanged |
Add this modifier to a component to observe focus state events. |
onFocusEvent |
Add this modifier to a component to observe focus state events. |
onFocusedBoundsChanged |
Calls |
onGloballyPositioned |
Invoke |
onIndirectPointerGesture |
A |
onInterceptKeyBeforeSoftKeyboard |
Adding this |
onKeyEvent |
Adding this |
onLayoutRectChanged |
Invokes |
onPlaced |
Invoke |
onPreInterceptKeyBeforeSoftKeyboard |
Adding this |
onPreRotaryScrollEvent |
Adding this |
onPreviewKeyEvent |
Adding this |
onRotaryScrollEvent |
Adding this |
onSizeChanged |
Invoked with the size of the modified Compose UI element when the element is first measured or when the size of the element changes. |
onVisibilityChanged |
Registers a callback to monitor whether or not the node is inside of the viewport of the window or not. |
overscroll |
Renders overscroll from the provided |
padding |
Apply |
paddingFrom |
A |
paddingFromBaseline |
A |
paint |
Paint the content using |
pointerHoverIcon |
Modifier that lets a developer define a pointer icon to display when the cursor is hovered over the element. |
pointerInput |
Create a modifier for processing pointer input within the region of the modified element. |
pointerInteropFilter |
A special PointerInputModifier that provides access to the underlying |
preferKeepClear |
Mark the layout rectangle as preferring to stay clear of floating windows. |
preferredFrameRate |
Set a requested frame rate on Composable |
progressSemantics |
Contains the |
pullRefresh |
A nested scroll modifier that provides scroll events to |
pullRefreshIndicatorTransform |
A modifier for translating the position and scaling the size of a pull-to-refresh indicator based on the given |
pullToRefresh |
A Modifier that adds nested scroll to a container to support a pull-to-refresh gesture. |
rangeSemantics |
Modifier to add semantics signifying progress of the Stepper/Slider. |
recalculateWindowInsets |
This recalculates the |
requestFocusOnHierarchyActive |
This Modifier is used in conjunction with |
requiredHeight |
Declare the height of the content to be exactly |
requiredHeightIn |
Constrain the height of the content to be between |
requiredSize |
Declare the size of the content to be exactly |
requiredSizeIn |
Constrain the width of the content to be between |
requiredWidth |
Declare the width of the content to be exactly the same as the min or max intrinsic width of the content. |
requiredWidthIn |
Constrain the width of the content to be between |
rotaryScrollable |
A modifier which connects rotary events with scrollable containers such as Column, LazyList and others. |
rotate |
Sets the degrees the view is rotated around the center of the composable. |
safeContentPadding |
Adds padding to accommodate the |
safeDrawingPadding |
Adds padding to accommodate the |
safeGesturesPadding |
Adds padding to accommodate the |
scale |
Scale the contents of both the horizontal and vertical axis uniformly by the same scale factor. |
scrollAway |
Scroll an item vertically in/out of view based on a |
scrollAway |
Scroll an item vertically in/out of view based on scroll state provided by a scrolling list. |
scrollable |
Configure touch scrolling and flinging for the UI element in a single |
scrollable2D |
Configure touch scrolling and flinging for the UI element in both XY orientations. |
scrollableArea |
Configure a component to act as a scrollable area. |
selectable |
Configure component to be selectable, usually as a part of a mutually exclusive group, where only one item can be selected at any point in time. |
selectableGroup |
Use this modifier to group a list of |
semantics |
Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc. |
sensitiveContent |
This modifier hints that the composable renders sensitive content (i.e. username, password, credit card etc) on the screen, and the content should be protected during screen share in supported environments. |
shadow |
Creates a |
size |
Declare the preferred size of the content to be exactly |
sizeIn |
Constrain the width of the content to be between |
statusBarsPadding |
Adds padding to accommodate the |
styleable |
Modifier that creates a region that is styled by the given |
stylusHoverIcon |
Modifier that lets a developer define a pointer icon to display when a stylus is hovered over the element. |
swipeable |
Enable swipe gestures between a set of predefined states. |
swipeable |
Enable swipe gestures between a set of predefined states. |
systemBarsPadding |
Adds padding to accommodate the |
systemGestureExclusion |
Excludes the layout rectangle from the system gesture. |
systemGesturesPadding |
Adds padding to accommodate the |
testTag |
Applies a tag to allow modified element to be found in tests. |
toggleable |
Configure component to make it toggleable via input and accessibility events |
toolingGraphicsLayer |
A |
touchTargetAwareSize |
Modifier to set both the size and recommended touch target for |
transformable |
Enable transformation gestures of the modified UI element. |
transformedHeight |
Convenience modifier to calculate transformed height using |
triStateToggleable |
Configure component to make it toggleable via input and accessibility events with three states: On, Off and Indeterminate. |
verticalScroll |
Modify element to allow to scroll vertically when height of the content is bigger than max constraints allow. |
visible |
A |
waterfallPadding |
Adds padding to accommodate the |
width |
Declare the preferred width of the content to be the same as the min or max intrinsic width of the content. |
widthIn |
Constrain the width of the content to be between |
windowInsetsBottomHeight |
Sets the height to that of |
windowInsetsEndWidth |
Sets the width to that of |
windowInsetsPadding |
Adds padding so that the content doesn't enter |
windowInsetsStartWidth |
Sets the width to that of |
windowInsetsTopHeight |
|
wrapContentHeight |
Allow the content to measure at its desired height without regard for the incoming measurement |
wrapContentSize |
Allow the content to measure at its desired size without regard for the incoming measurement |
wrapContentWidth |
Allow the content to measure at its desired width without regard for the incoming measurement |
zIndex |
Creates a modifier that controls the drawing order for the children of the same layout parent. |