Actions
|
Scope: Any
|
<T:Any?> Modifier.anchoredDraggable(Enable drag gestures between a set of predefined values. |
|
Scope: Any
|
<T:Any?> Modifier.anchoredDraggable(Enable drag gestures between a set of predefined values. |
|
Scope: Any
|
Modifier.clickable(Configure component to receive clicks via input or accessibility "click" event. |
|
Scope: Any
|
Modifier.clickable(Configure component to receive clicks via input or accessibility "click" event. |
|
Scope: Any
|
Modifier.combinedClickable(Configure component to receive clicks, double clicks and long clicks via input or accessibility "click" event. |
|
Scope: Any
|
Modifier.combinedClickable(Configure component to receive clicks, double clicks and long clicks via input or accessibility "click" event. |
|
Scope: Any
|
Modifier.draggable2D(Configure touch dragging for the UI element in both orientations. |
|
Scope: Any
|
Modifier.draggable(Configure touch dragging for the UI element in a single |
|
Scope: Any
|
Use this modifier to group a list of |
|
Scope: Any
|
Modifier.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. |
|
Scope: Any
|
Modifier.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. |
|
Scope: Any
|
@ExperimentalWearMaterialApiEnable swipe gestures between a set of predefined states. |
|
Scope: Any
|
Modifier.toggleable(Configure component to make it toggleable via input and accessibility events |
|
Scope: Any
|
Modifier.toggleable(Configure component to make it toggleable via input and accessibility events. |
|
Scope: Any
|
Modifier.triStateToggleable(Configure component to make it toggleable via input and accessibility events with three states: On, Off and Indeterminate. |
|
Scope: Any
|
Modifier.triStateToggleable(Configure component to make it toggleable via input and accessibility events with three states: On, Off and Indeterminate. |
|
Scope:
PaneScaffoldScope |
Modifier.paneExpansionDraggable(The modifier that should be applied on a drag handle composable so the drag handle can be dragged and operate on the provided |
Alignment
|
Scope:
RowScope |
Modifier.align(alignment:Alignment.Vertical)Align the element vertically within the |
|
Scope:
RowScope |
Position the element vertically such that the alignment line for the content as determined by |
|
Scope:
RowScope |
Modifier.alignBy(alignmentLine:HorizontalAlignmentLine)Position the element vertically such that its |
|
Scope:
RowScope |
Position the element vertically such that its first baseline aligns with sibling elements also configured to |
|
Scope:
ColumnScope |
Modifier.align(alignment:Alignment.Horizontal)Align the element horizontally within the |
|
Scope:
ColumnScope |
Position the element horizontally such that the alignment line for the content as determined by |
|
Scope:
ColumnScope |
Modifier.alignBy(alignmentLine:VerticalAlignmentLine)Position the element horizontally such that its |
|
Scope:
BoxScope |
Pull the content element to a specific |
Animation
|
Scope: Any
|
Modifier.animateBounds(
|
|
Scope: Any
|
Modifier.animateFloatingActionButton(Apply this modifier to a |
|
Scope:
AnimatedVisibilityScope |
Modifier.animateEnterExit(
|
|
Scope:
LazyItemScope |
Modifier.animateItem(This modifier animates the item appearance (fade in), disappearance (fade out) and placement changes (such as an item reordering). |
|
Scope:
LazyGridItemScope |
Modifier.animateItem(This modifier animates the item appearance (fade in), disappearance (fade out) and placement changes (such as an item reordering). |
|
Scope:
LazyStaggeredGridItemScope |
Modifier.animateItem(This modifier animates the item appearance (fade in), disappearance (fade out) and placement changes (such as an item reordering). |
Border
|
Scope: Any
|
Modifier.border(border:BorderStroke,shape:Shape)Modify element to add border with appearance specified with a |
|
Scope: Any
|
Modify element to add border with appearance specified with a |
|
Scope: Any
|
Modify element to add border with appearance specified with a |
Drawing
|
Scope: Any
|
Draw content with modified alpha that may be less than 1. |
|
Scope: Any
|
Modifier.background(color:Color,shape:Shape) |
|
Scope: Any
|
Modifier.background( |
|
Scope: Any
|
Clip the content to |
|
Scope: Any
|
Clip the content to the bounds of a layer defined at this modifier. |
|
Scope: Any
|
Modifier.drawBehind(onDraw:DrawScope.() -> Unit)Draw into a |
|
Scope: Any
|
Modifier.drawWithCache(onBuildDrawCache:CacheDrawScope.() -> DrawResult)Draw into a |
|
Scope: Any
|
Modifier.drawWithContent(onDraw:ContentDrawScope.() -> Unit)Creates a |
|
Scope: Any
|
Modifier.indication(Draws visual effects for this component when interactions occur. |
|
Scope: Any
|
Modifier.paint(Paint the content using |
|
Scope: Any
|
Modifier.dropShadow(shape:Shape,block:DropShadowScope.() -> Unit)Draws a drop shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined the |
|
Scope: Any
|
Modifier.dropShadow(shape:Shape,shadow:Shadow)Draws a drop shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined by the |
|
Scope: Any
|
Modifier.innerShadow(shape:Shape,block:InnerShadowScope.() -> Unit)Draws an inner shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined the |
|
Scope: Any
|
Modifier.innerShadow(shape:Shape,shadow:Shadow)Draws an inner shadow on top of the rest of the content with the geometry specified by the given shape and the shadow properties defined by the |
|
Scope: Any
|
Creates a |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Creates a modifier that controls the drawing order for the children of the same layout parent. |
Focus
|
Scope: Any
|
Modifier.onFocusChanged(onFocusChanged:(FocusState) -> Unit)Add this modifier to a component to observe focus state events. |
|
Scope: Any
|
Modifier.onFocusEvent(onFocusEvent:(FocusState) -> Unit)Add this modifier to a component to observe focus state events. |
|
Scope: Any
|
Add this modifier to a component to make it focusable. |
|
Scope: Any
|
Modifier.focusProperties(scope:FocusProperties.() -> Unit)This modifier allows you to specify properties that are accessible to |
|
Scope: Any
|
Modifier.focusRequester(focusRequester:FocusRequester)Add this modifier to a component to request changes to focus. |
|
Scope: Any
|
Modifier.focusRestorer(fallback:FocusRequester)This modifier can be used to save and restore focus to a focus group. |
|
Scope: Any
|
Creates a focus group or marks this component as a focus group. |
|
Scope: Any
|
Modifier.focusable(Configure component to be focusable via focus system or accessibility "focus" event. |
|
Scope: Any
|
Modifier.hierarchicalFocusGroup(active:Boolean)
|
|
Scope: Any
|
This Modifier is used in conjunction with |
Graphics
|
Scope: Any
|
Modifier.graphicsLayer(block:GraphicsLayerScope.() -> Unit)A |
|
Scope: Any
|
Modifier.graphicsLayer(A |
|
Scope: Any
|
A |
Keyboard
|
Scope: Any
|
Modifier.onKeyEvent(onKeyEvent:(KeyEvent) -> Boolean)Adding this |
|
Scope: Any
|
Modifier.onPreviewKeyEvent(onPreviewKeyEvent:(KeyEvent) -> Boolean)Adding this |
Layout
|
Scope: Any
|
Alternative to |
|
Scope: Any
|
Tag the element with |
|
Scope: Any
|
Modifier.layout(measure:MeasureScope.(Measurable, Constraints) -> MeasureResult)Creates a |
|
Scope: Any
|
Modifier.onGloballyPositioned(Invoke |
Other
|
Scope: Any
|
Modifier.contentType(contentType:ContentType)Set autofill hint with |
|
Scope: Any
|
Modifier.basicMarquee(Applies an animated marquee effect to the modified content if it's too wide to fit in the available space. |
|
Scope: Any
|
Modifier.edgeSwipeToDismiss(Handles swipe to dismiss from the edge of the viewport. |
|
Scope: Any
|
Modifier.blur(radius:Dp,edgeTreatment:BlurredEdgeTreatment)Draw content blurred with the specified radii. |
|
Scope: Any
|
Modifier.blur(Draw content blurred with the specified radii. |
|
Scope: Any
|
Modifier.bringIntoViewRequester(Modifier that can be used to send |
|
Scope: Any
|
Modifier.composed(Declare a just-in-time composition of a |
|
Scope: Any
|
Modifier.composed(Declare a just-in-time composition of a |
|
Scope: Any
|
Modifier.composed(Declare a just-in-time composition of a |
|
Scope: Any
|
Modifier.composed(Declare a just-in-time composition of a |
|
Scope: Any
|
Modifier.composed(Declare a just-in-time composition of a |
|
Scope: Any
|
Modifier.contentColorProvider(contentColor:Color)Provides |
|
Scope: Any
|
Modifier.depthEffect(depthEffect:DepthEffect?,shape:Shape)Renders shadows for the provided |
|
Scope: Any
|
Modifier.dragAndDropSource(A |
|
Scope: Any
|
Modifier.dragAndDropSource(A |
|
Scope: Any
|
Modifier.dragAndDropTarget(A modifier that allows for receiving from a drag and drop gesture. |
|
Scope: Any
|
Modifier.preferredFrameRate(frameRateCategory:FrameRateCategory)Set a requested frame rate on Composable |
|
Scope: Any
|
Modifier.preferredFrameRate(Set a requested frame rate on Composable |
|
Scope: Any
|
Modifier.handwritingDetector(callback:() -> Unit)Configures an element to act as a handwriting detector which detects stylus handwriting and delegates handling of the recognised text to another element. |
|
Scope: Any
|
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. |
|
Scope: Any
|
Modifier.hoverable(Configure component to be hoverable via pointer enter/exit events. |
|
Scope: Any
|
A modifier that keeps the device screen on as long as it is part of the composition on supported platforms. |
|
Scope: Any
|
Modifier.layoutBounds(holder:LayoutBoundsHolder)This will map the |
|
Scope: Any
|
Modifier.approachLayout(Creates an approach layout intended to help gradually approach the destination layout calculated in the lookahead pass. |
|
Scope: Any
|
Modifier.magnifier(Shows a |
|
Scope: Any
|
Modifier.modifierLocalConsumer(consumer:ModifierLocalReadScope.() -> Unit)A Modifier that can be used to consume |
|
Scope: Any
|
<T:Any?> Modifier.modifierLocalProvider(A Modifier that can be used to provide |
|
Scope: Any
|
Modifier.onLayoutRectChanged(Invokes |
|
Scope: Any
|
Modifier.onPlaced(onPlaced:(LayoutCoordinates) -> Unit)Invoke |
|
Scope: Any
|
Modifier.onVisibilityChanged(Registers a callback to monitor whether or not the node is inside of the viewport of the window or not. |
|
Scope: Any
|
Modifier.oneHandedGesture(Registers a gesture handler. |
|
Scope: Any
|
@ExperimentalWearMaterialApiDraws a placeholder shape over the top of a composable and animates a wipe off effect to remove the placeholder. |
|
Scope: Any
|
@ComposableModifier.placeholder draws a skeleton shape over a component, for situations when no provisional content (such as cached data) is available. |
|
Scope: Any
|
@ExperimentalWearMaterialApiModifier to draw a placeholder shimmer over a component. |
|
Scope: Any
|
@ComposableModifier.placeholderShimmer draws a periodic shimmer over content, indicating to the user that contents are loading or potentially out of date. |
|
Scope: Any
|
Modifier.stylusHoverIcon(Modifier that lets a developer define a pointer icon to display when a stylus is hovered over the element. |
|
Scope: Any
|
Modifier.motionEventSpy(watcher:(motionEvent:MotionEvent) -> Unit)Calls |
|
Scope: Any
|
Mark the layout rectangle as preferring to stay clear of floating windows. |
|
Scope: Any
|
Modifier.preferKeepClear(rectProvider:(LayoutCoordinates) -> Rect)Mark a rectangle within the local layout coordinates preferring to stay clear of floating windows. |
|
Scope: Any
|
@ExperimentalMaterialApiA modifier for translating the position and scaling the size of a pull-to-refresh indicator based on the given |
|
Scope: Any
|
@ExperimentalMaterialApiA nested scroll modifier that provides scroll events to |
|
Scope: Any
|
@ExperimentalMaterialApiA nested scroll modifier that provides |
|
Scope: Any
|
Modifier.pullToRefresh(A Modifier that adds nested scroll to a container to support a pull-to-refresh gesture. |
|
Scope: Any
|
@ExperimentalFoundationApiConfigures the current node and any children nodes as a Content Receiver. |
|
Scope: Any
|
Modifier.fitInside(rulers:RectRulers)Fits the contents within |
|
Scope: Any
|
Modifier.fitOutside(rulers:RectRulers)If one of the |
|
Scope: Any
|
Modifier.sensitiveContent(isContentSensitive:Boolean)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. |
|
Scope: Any
|
Modifier.onInterceptKeyBeforeSoftKeyboard(Adding this |
|
Scope: Any
|
Modifier.onPreInterceptKeyBeforeSoftKeyboard(Adding this |
|
Scope: Any
|
@ExperimentalFoundationStyleApiModifier that creates a region that is styled by the given |
|
Scope: Any
|
@ExperimentalFoundationStyleApiModifier that creates a region that is styled by the given |
|
Scope: Any
|
@ComposableA surface is a fundamental building block in Glimmer. |
|
Scope: Any
|
Excludes the layout rectangle from the system gesture. |
|
Scope: Any
|
Modifier.systemGestureExclusion(exclusion:(LayoutCoordinates) -> Rect)Excludes a rectangle within the local layout coordinates from the system gesture. |
|
Scope: Any
|
Modifier.appendTextContextMenuComponents(builder:TextContextMenuBuilderScope.() -> Unit)Adds a |
|
Scope: Any
|
Adds a |
|
Scope: Any
|
A |
|
Scope: Any
|
Modifier.consumeWindowInsets(insets:WindowInsets)Consume insets that haven't been consumed yet by other insets Modifiers similar to |
|
Scope: Any
|
Modifier.consumeWindowInsets(paddingValues:PaddingValues)Consume |
|
Scope: Any
|
Modifier.onConsumedWindowInsetsChanged(Calls |
|
Scope: Any
|
This recalculates the |
|
Scope:
SharedTransitionScope |
Modifier.renderInSharedTransitionScopeOverlay(Renders the content in the |
|
Scope:
SharedTransitionScope |
Modifier.sharedBounds(
|
|
Scope:
SharedTransitionScope |
Modifier.sharedElement(
|
|
Scope:
SharedTransitionScope |
Modifier.sharedElementWithCallerManagedVisibility(
|
|
Scope:
SharedTransitionScope |
Modifier.skipToLookaheadPosition(enabled:() -> Boolean)A modifier that anchors a layout at the target position obtained from the lookahead pass during shared element transitions. |
|
Scope:
ExposedDropdownMenuBoxScope |
Modifier.menuAnchor(Modifier which should be applied to an element inside the |
|
Scope:
PaneScaffoldScope |
@ExperimentalMaterial3AdaptiveApiThis modifier specifies the associated pane's margins according to the provided |
|
Scope:
PaneScaffoldScope |
@ExperimentalMaterial3AdaptiveApiThis modifier specifies the associated pane's margins according to specified fixed margins and the provided |
Padding
|
Scope: Any
|
Modifier.paddingFrom(alignmentLine:AlignmentLine,before:Dp,after:Dp)A |
|
Scope: Any
|
Modifier.paddingFrom(A |
|
Scope: Any
|
Modifier.paddingFromBaseline(top:Dp,bottom:Dp)A |
|
Scope: Any
|
Modifier.paddingFromBaseline(top:TextUnit,bottom:TextUnit)A |
|
Scope: Any
|
Apply additional space along each edge of the content in |
|
Scope: Any
|
Apply |
|
Scope: Any
|
Modifier.padding(paddingValues:PaddingValues)Apply |
|
Scope: Any
|
Apply |
|
Scope: Any
|
Apply additional space along each edge of the content in |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Adds padding to accommodate the |
|
Scope: Any
|
Modifier.windowInsetsPadding(insets:WindowInsets)Adds padding so that the content doesn't enter |
Pointer
|
Scope: Any
|
Modifier.onIndirectPointerGesture(A |
|
Scope: Any
|
Modifier.pointerHoverIcon(Modifier that lets a developer define a pointer icon to display when the cursor is hovered over the element. |
|
Scope: Any
|
Modifier.pointerInteropFilter(A special PointerInputModifier that provides access to the underlying |
|
Scope: Any
|
Modifier.pointerInput(key1:Any?,block:PointerInputEventHandler)Create a modifier for processing pointer input within the region of the modified element. |
|
Scope: Any
|
Modifier.pointerInput(varargkeys:Any?,block:PointerInputEventHandler)Create a modifier for processing pointer input within the region of the modified element. |
|
Scope: Any
|
Modifier.pointerInput(Create a modifier for processing pointer input within the region of the modified element. |
Position
|
Scope: Any
|
Modifier.absoluteOffset(offset:Density.() -> IntOffset)Offset the content by |
|
Scope: Any
|
Modifier.absoluteOffset(x:Dp,y:Dp) |
|
Scope: Any
|
Offset the content by |
|
Scope: Any
|
|
|
Scope:
TabRowDefaults |
Modifier.tabIndicatorOffset(currentTabPosition:TabPosition)
|
Scroll
|
Scope: Any
|
Modifier.clipScrollableContainer(orientation:Orientation)Clips bounds of scrollable container on main axis while leaving space for background effects (like shadows) on cross axis. |
|
Scope: Any
|
Modifier.nestedScroll(Modify element to make it participate in the nested scrolling hierarchy. |
|
Scope: Any
|
Modifier.overscroll(overscrollEffect:OverscrollEffect?)Renders overscroll from the provided |
|
Scope: Any
|
Modifier.onPreRotaryScrollEvent(Adding this |
|
Scope: Any
|
Modifier.onRotaryScrollEvent(Adding this |
|
Scope: Any
|
Modifier.rotaryScrollable(A modifier which connects rotary events with scrollable containers such as Column, LazyList and others. |
|
Scope: Any
|
Modifier.scrollAway(Scroll an item vertically in/out of view based on scroll state provided by a scrolling list. |
|
Scope: Any
|
Modifier.scrollAway(scrollState:ScrollState,offset:Dp)Scroll an item vertically in/out of view based on a |
|
Scope: Any
|
Modifier.scrollAway(Scroll an item vertically in/out of view based on a |
|
Scope: Any
|
Modifier.scrollAway(Scroll an item vertically in/out of view based on a |
|
Scope: Any
|
Modifier.horizontalScroll(Modify element to allow to scroll horizontally when width of the content is bigger than max constraints allow. |
|
Scope: Any
|
Modifier.horizontalScroll(Modify element to allow to scroll horizontally when width of the content is bigger than max constraints allow. |
|
Scope: Any
|
Modifier.verticalScroll(Modify element to allow to scroll vertically when height of the content is bigger than max constraints allow. |
|
Scope: Any
|
Modifier.verticalScroll(Modify element to allow to scroll vertically when height of the content is bigger than max constraints allow. |
|
Scope: Any
|
Modifier.scrollable2D(Configure touch scrolling and flinging for the UI element in both XY orientations. |
|
Scope: Any
|
Modifier.scrollableArea(Configure a component to act as a scrollable area. |
|
Scope: Any
|
Modifier.scrollableArea(Configure a component to act as a scrollable area. |
|
Scope: Any
|
Modifier.scrollable(Configure touch scrolling and flinging for the UI element in a single |
|
Scope: Any
|
Modifier.scrollable(Configure touch scrolling and flinging for the UI element in a single |
|
Scope: Any
|
@ComposableA visual-only scrollbar that represents the current scroll position of a scrolling component. |
|
Scope: Any
|
Controls the soft keyboard as a nested scrolling on Android |
Semantics
|
Scope: Any
|
Contains the |
|
Scope: Any
|
Modifier.progressSemantics(Contains the |
|
Scope: Any
|
Modifier.rangeSemantics(Modifier to add semantics signifying progress of the Stepper/Slider. |
|
Scope: Any
|
Modifier.clearAndSetSemantics(properties:SemanticsPropertyReceiver.() -> Unit)Clears the semantics of all the descendant nodes and sets new semantics. |
|
Scope: Any
|
Modifier.semantics(mergeDescendants:Boolean,properties:SemanticsPropertyReceiver.() -> Unit)Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc. |
Size
|
Scope: Any
|
Modifier.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. |
|
Scope: Any
|
Modifier.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. |
|
Scope: Any
|
Modifier.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: |
|
Scope: Any
|
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
|
Scope: Any
|
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
|
Scope: Any
|
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
|
Scope: Any
|
Modifier.height(intrinsicSize:IntrinsicSize)Declare the preferred height of the content to be the same as the min or max intrinsic height of the content. |
|
Scope: Any
|
Modifier.requiredHeight(intrinsicSize:IntrinsicSize)Declare the height of the content to be exactly the same as the min or max intrinsic height of the content. |
|
Scope: Any
|
Modifier.requiredWidth(intrinsicSize:IntrinsicSize)Declare the width of the content to be exactly the same as the min or max intrinsic width of the content. |
|
Scope: Any
|
Modifier.width(intrinsicSize:IntrinsicSize)Declare the preferred width of the content to be the same as the min or max intrinsic width of the content. |
|
Scope: Any
|
Modifier.onSizeChanged(onSizeChanged:(IntSize) -> Unit)Invoked with the size of the modified Compose UI element when the element is first measured or when the size of the element changes. |
|
Scope: Any
|
Modifier.defaultMinSize(minWidth:Dp,minHeight:Dp)Constrain the size of the wrapped layout only when it would be otherwise unconstrained: the |
|
Scope: Any
|
Modifier.fillMaxHeight(fraction:@FloatRange(from=0.0,to=1.0) Float)Have the content fill (possibly only partially) the |
|
Scope: Any
|
Modifier.fillMaxSize(fraction:@FloatRange(from=0.0,to=1.0) Float)Have the content fill (possibly only partially) the |
|
Scope: Any
|
Modifier.fillMaxWidth(fraction:@FloatRange(from=0.0,to=1.0) Float)Have the content fill (possibly only partially) the |
|
Scope: Any
|
Declare the preferred height of the content to be exactly |
|
Scope: Any
|
Constrain the height of the content to be between |
|
Scope: Any
|
Modifier.requiredHeight(height:Dp)Declare the height of the content to be exactly |
|
Scope: Any
|
Modifier.requiredHeightIn(min:Dp,max:Dp)Constrain the height of the content to be between |
|
Scope: Any
|
Modifier.requiredSize(size:Dp)Declare the size of the content to be exactly |
|
Scope: Any
|
Modifier.requiredSize(size:DpSize)Declare the size of the content to be exactly |
|
Scope: Any
|
Modifier.requiredSize(width:Dp,height:Dp)Declare the size of the content to be exactly |
|
Scope: Any
|
Constrain the width of the content to be between |
|
Scope: Any
|
Modifier.requiredWidth(width:Dp)Declare the width of the content to be exactly |
|
Scope: Any
|
Modifier.requiredWidthIn(min:Dp,max:Dp)Constrain the width of the content to be between |
|
Scope: Any
|
Declare the preferred size of the content to be exactly |
|
Scope: Any
|
Declare the preferred size of the content to be exactly |
|
Scope: Any
|
Declare the preferred size of the content to be exactly |
|
Scope: Any
|
Constrain the width of the content to be between |
|
Scope: Any
|
Declare the preferred width of the content to be exactly |
|
Scope: Any
|
Constrain the width of the content to be between |
|
Scope: Any
|
Modifier.wrapContentHeight(Allow the content to measure at its desired height without regard for the incoming measurement |
|
Scope: Any
|
Modifier.wrapContentSize(align:Alignment,unbounded:Boolean)Allow the content to measure at its desired size without regard for the incoming measurement |
|
Scope: Any
|
Modifier.wrapContentWidth(Allow the content to measure at its desired width without regard for the incoming measurement |
|
Scope: Any
|
Modifier.touchTargetAwareSize(size:Dp)Modifier to set both the size and recommended touch target for |
|
Scope: Any
|
Modifier.transformedHeight(Convenience modifier to calculate transformed height using |
|
Scope: Any
|
Sets the height to that of |
|
Scope: Any
|
Modifier.windowInsetsEndWidth(insets:WindowInsets)Sets the width to that of |
|
Scope: Any
|
Sets the width to that of |
|
Scope: Any
|
|
|
Scope: Any
|
@UnstableApiAttempts to size the original content rectangle to be inscribed into a destination by applying a specified |
|
Scope:
SharedTransitionScope |
Modifier.skipToLookaheadSize(enabled:() -> Boolean)
|
|
Scope:
RowScope |
Modifier.weight(Size the element's width proportional to its |
|
Scope:
ColumnScope |
Modifier.weight(Size the element's height proportional to its |
|
Scope:
FlowRowScope |
@ExperimentalLayoutApiHave the item fill (possibly only partially) the max height of the tallest item in the row it was placed in, within the |
|
Scope:
FlowColumnScope |
@ExperimentalLayoutApiHave the item fill (possibly only partially) the max width of the widest item in the column it was placed in, within the |
|
Scope:
BoxScope |
Size the element to match the size of the |
|
Scope:
LazyItemScope |
Modifier.fillParentMaxHeight(Have the content fill the |
|
Scope:
LazyItemScope |
Modifier.fillParentMaxSize(Have the content fill the |
|
Scope:
LazyItemScope |
Modifier.fillParentMaxWidth(Have the content fill the |
|
Scope:
ExposedDropdownMenuBoxScope |
Modifier.exposedDropdownSize(matchTextFieldWidth:Boolean)Modifier which should be applied to an |
|
Scope:
ExposedDropdownMenuBoxScope |
Modifier.exposedDropdownSize(matchAnchorWidth:Boolean)Modifier which should be applied to a menu placed inside the |
|
Scope:
PaneScaffoldScope |
Modifier.preferredHeight(height:Dp)This modifier specifies the preferred height for a pane in |
|
Scope:
PaneScaffoldScope |
Modifier.preferredHeight(This modifier specifies the preferred height for a pane as a proportion of the overall scaffold height. |
|
Scope:
PaneScaffoldScope |
Modifier.preferredWidth(proportion:@FloatRange(from=0.0,to=1.0) Float)This modifier specifies the preferred width for a pane as a proportion of the overall scaffold width. |
|
Scope:
PaneScaffoldScope |
Modifier.preferredWidth(width:Dp)This modifier specifies the preferred width for a pane in |
Testing
|
Scope: Any
|
Applies a tag to allow modified element to be found in tests. |
Transformations
|
Scope: Any
|
Sets the degrees the view is rotated around the center of the composable. |
|
Scope: Any
|
Scale the contents of both the horizontal and vertical axis uniformly by the same scale factor. |
|
Scope: Any
|
Scale the contents of the composable by the following scale factors along the horizontal and vertical axis respectively. |
|
Scope: Any
|
Modifier.transformable(Enable transformation gestures of the modified UI element. |
|
Scope: Any
|
Modifier.transformable(Enable transformation gestures of the modified UI element. |