Compose Unstyled v1.47: Tooltips, Stack and responsive goodies. Read blog->
UnstyledUI KitBook
DocsBlog
940+
Documentation
Theming
Unstyled Components
Universal Components
Blog
Component Catalogue
Jetpack Compose Reference
Getting Started
Overview
Installation
Components
Theming
Theming
Android XML Themes
Dynamic Themes
Theme Overrides
Platform Themes
Composable Primitives
Bottom Sheet
Bottom Sheet (Modal)
Button
Checkbox
Checkbox (TriState)
Dialog
Disclosure
Dropdown Menu
Icon
Modal
Progress Indicator
Radio Group
Scroll Area
Separators
Slider
Tab Group
Text
Tooltip
Text Field
Toggle Switch
Styling
ColoredIndication
focusRing
outline
Responsive Design
Stack
currentWindowContainerSize
defaultMinimumComponentInteractiveSize
Modifiers
buildModifier
UnstyledUI Kit
Book
new
DocsBlog
Compose Foundation
Compose RuntimeCompose Runtime SaveableCompose Runtime AnnotationCompose UICompose UI GeometryCompose UI GraphicsCompose UI TestCompose UI TextCompose UI UnitCompose AnimationCompose Animation CoreCompose Animation GraphicsCompose FoundationCompose Foundation LayoutMaterial 3 ComposeMaterial 3 AdaptiveMaterial 3 Window Size ClassMaterial ComposeMaterial RippleWear Material 3 ComposeWear Material ComposeWear FoundationWear NavigationGlanceGlance App WidgetGlance Wear TilesCompose TV FoundationCompose TV Material
Composable Functions
  • AndroidEmbeddedExternalSurface
  • AndroidExternalSurface
  • BasicSecureTextField
  • BasicText
  • BasicTextField
  • BasicTooltipBox
  • BasicTooltipBoxAndroid
  • Canvas
  • ClickableText
  • DisableSelection
  • HorizontalPager
  • Image
  • LazyColumn
  • LazyHorizontalGrid
  • LazyHorizontalStaggeredGrid
  • LazyLayout
  • LazyLayoutPinnableItem
  • LazyRow
  • LazyVerticalGrid
  • LazyVerticalStaggeredGrid
  • SelectionContainer
  • VerticalPager
  • collectIsDraggedAsState
  • collectIsFocusedAsState
  • collectIsHoveredAsState
  • collectIsPressedAsState
  • isSystemInDarkTheme
  • rememberBasicTooltipState
  • rememberDraggable2DState
  • rememberDraggableState
  • rememberLazyGridState
  • rememberLazyListState
  • rememberLazyStaggeredGridState
  • rememberOverscrollEffect
  • rememberPagerState
  • rememberPlatformOverscrollFactory
  • rememberScrollState
  • rememberScrollable2DState
  • rememberScrollableState
  • rememberSnapFlingBehavior
  • rememberTextFieldState
  • rememberTransformableState
Modifiers
  • anchoredDraggable
  • appendTextContextMenuComponents
  • background
  • basicMarquee
  • border
  • bringIntoViewRequester
  • bringIntoViewResponder
  • clickable
  • clipScrollableContainer
  • combinedClickable
  • contentReceiver
  • dragAndDropSource
  • dragAndDropTarget
  • draggable
  • draggable2D
  • excludeFromSystemGesture
  • filterTextContextMenuComponents
  • focusGroup
  • focusable
  • handwritingDetector
  • handwritingHandler
  • horizontalScroll
  • hoverable
  • indication
  • magnifier
  • onFocusedBoundsChanged
  • overscroll
  • preferKeepClear
  • progressSemantics
  • scrollable
  • scrollable2D
  • selectable
  • selectableGroup
  • systemGestureExclusion
  • toggleable
  • transformable
  • triStateToggleable
  • verticalScroll
Classes
  • AbsoluteCutCornerShape
  • AbsoluteRoundedCornerShape
  • AnchoredDraggableState
  • AndroidExternalSurfaceZOrder
  • BorderStroke
  • CornerBasedShape
  • CutCornerShape
  • DraggableAnchorsConfig
  • ExperimentalFoundationApi
  • ExperimentalTapGestureDetectorBehaviorApi
  • GenericShape
  • GestureCancellationException
  • GridItemSpan
  • InlineTextContent
  • InternalFoundationApi
  • InternalFoundationTextApi
  • KeyboardActions
  • KeyboardOptions
  • LazyGridScopeMarker
  • LazyGridState
  • LazyLayoutIntervalContent
  • LazyLayoutPinnedItemList
  • LazyLayoutPrefetchState
  • LazyListState
  • LazyScopeMarker
  • LazyStaggeredGridState
  • MarqueeAnimationMode
  • MediaType
  • MutableIntervalList
  • MutatePriority
  • MutatorMutex
  • Orientation
  • OverscrollConfiguration
  • PagerState
  • PlatformTransferableContent
  • ProcessTextKey
  • RoundedCornerShape
  • ScrollState
  • StaggeredGridItemSpan
  • TextContextMenuBuilderScope
  • TextContextMenuComponent
  • TextContextMenuData
  • TextContextMenuItem
  • TextFieldBuffer
  • TextFieldState
  • TextObfuscationMode
  • TextSelectionColors
  • TransferableContent
  • UndoState
Interfaces
  • AnchoredDragScope
  • AndroidExternalSurfaceScope
  • BasicTooltipState
  • BringIntoViewRequester
  • BringIntoViewResponder
  • BringIntoViewSpec
  • CornerSize
  • Drag2DScope
  • DragAndDropSourceScope
  • DragInteraction
  • DragScope
  • Draggable2DState
  • DraggableAnchors
  • DraggableState
  • FlingBehavior
  • FocusInteraction
  • GridCells
  • HoverInteraction
  • Indication
  • IndicationInstance
  • IndicationNodeFactory
  • InputTransformation
  • Interaction
  • InteractionSource
  • IntervalList
  • KeyboardActionHandler
  • KeyboardActionScope
  • LazyGridItemInfo
  • LazyGridItemScope
  • LazyGridItemSpanScope
  • LazyGridLayoutInfo
  • LazyGridPrefetchResultScope
  • LazyGridPrefetchScope
  • LazyGridPrefetchStrategy
  • LazyGridScope
  • LazyItemScope
  • LazyLayoutCacheWindow
  • LazyLayoutItemProvider
  • LazyLayoutKeyIndexMap
  • LazyLayoutMeasurePolicy
  • LazyLayoutMeasureScope
  • LazyLayoutScrollScope
  • LazyListItemInfo
  • LazyListLayoutInfo
  • LazyListPrefetchResultScope
  • LazyListPrefetchScope
  • LazyListPrefetchStrategy
  • LazyListScope
  • LazyStaggeredGridItemInfo
  • LazyStaggeredGridItemScope
  • LazyStaggeredGridLayoutInfo
  • LazyStaggeredGridScope
  • MarqueeSpacing
  • MutableInteractionSource
  • NestedPrefetchScope
  • OutputTransformation
  • OverscrollEffect
  • OverscrollFactory
  • PageInfo
  • PageSize
  • PagerLayoutInfo
  • PagerScope
  • PagerSnapDistance
  • PrefetchRequest
  • PrefetchRequestScope
  • PrefetchScheduler
  • PressGestureScope
  • PressInteraction
  • ReceiveContentListener
  • Scroll2DScope
  • ScrollIndicatorState
  • ScrollScope
  • Scrollable2DState
  • ScrollableState
  • SnapLayoutInfoProvider
  • SnapPosition
  • StaggeredGridCells
  • SurfaceCoroutineScope
  • SurfaceScope
  • TargetedFlingBehavior
  • TextAutoSize
  • TextAutoSizeLayoutScope
  • TextContextMenuDataProvider
  • TextContextMenuProvider
  • TextContextMenuSession
  • TextFieldDecorator
  • TextFieldLineLimits
  • TransformScope
  • TransformableState
Properties
  • CircleShape
  • DetectTapGesturesEnableNewDispatchingBehavior
  • LocalAutofillHighlightBrush
  • LocalAutofillHighlightColor
  • LocalBackgroundTextMeasurementExecutor
  • LocalBringIntoViewSpec
  • LocalIndication
  • LocalOverscrollConfiguration
  • LocalOverscrollFactory
  • LocalTextClassifierCoroutineContext
  • LocalTextContextMenuDropdownProvider
  • LocalTextContextMenuToolbarProvider
  • LocalTextSelectionColors
  • ZeroCornerSize
Functions
  • AbsoluteCutCornerShape
  • AbsoluteRoundedCornerShape
  • allCaps
  • AnchoredDraggableState
  • animateBy
  • animatePanBy
  • animateRotateBy
  • animateScrollBy
  • animateTo
  • animateToWithDecay
  • animateZoomBy
  • appendInlineContent
  • awaitDragOrCancellation
  • awaitEachGesture
  • awaitFirstDown
  • awaitHorizontalDragOrCancellation
  • awaitHorizontalPointerSlopOrCancellation
  • awaitHorizontalTouchSlopOrCancellation
  • awaitLongPressOrCancellation
  • awaitTouchSlopOrCancellation
  • awaitVerticalDragOrCancellation
  • awaitVerticalPointerSlopOrCancellation
  • awaitVerticalTouchSlopOrCancellation
  • BasicTooltipState
  • BorderStroke
  • BringIntoViewRequester
  • byValue
  • calculateCentroid
  • calculateCentroidSize
  • calculatePan
  • calculateRotation
  • calculateZoom
  • checkScrollableContainerConstraints
  • clearText
  • consume
  • CornerSize
  • CutCornerShape
  • delete
  • detectDragGestures
  • detectDragGesturesAfterLongPress
  • detectHorizontalDragGestures
  • detectTapGestures
  • detectTransformGestures
  • detectVerticalDragGestures
  • drag
  • Draggable2DState
  • DraggableAnchors
  • DraggableState
  • forEach
  • forEachChange
  • forEachChangeReversed
  • forEachGesture
  • getDefaultLazyLayoutKey
  • GridItemSpan
  • hasMediaType
  • horizontalDrag
  • insert
  • item
  • items
  • itemsIndexed
  • KeyboardActions
  • LazyGridPrefetchStrategy
  • LazyLayoutCacheWindow
  • LazyLayoutKeyIndexMap
  • LazyLayoutScrollScope
  • LazyListPrefetchStrategy
  • MarqueeSpacing
  • maxLength
  • MutableInteractionSource
  • PagerState
  • panBy
  • placeCursorAtEnd
  • rotateBy
  • RoundedCornerShape
  • Scrollable2DState
  • ScrollableState
  • scrollBy
  • selectAll
  • setTextAndPlaceCursorAtEnd
  • setTextAndSelectAll
  • snapFlingBehavior
  • SnapLayoutInfoProvider
  • snapTo
  • stopScroll
  • stopTransformation
  • then
  • toTextFieldBuffer
  • TransformableState
  • verticalDrag
  • waitForUpOrCancellation
  • withoutEventHandling
  • withoutVisualEffect
  • zoomBy

ZeroCornerSize

[CornerSize] always equals to zero.

Compose API Reference Compose Foundation

ZeroCornerSize

Property

Common
val ZeroCornerSize: CornerSize

CornerSize always equals to zero.

    On this page
Sponsored By
Become a sponsor