Object

DrawCurvedToEdgeDefaults

Source set: Android
public object DrawCurvedToEdgeDefaults

Properties

ScrollableContentMaxSweepAngle

Source set: Android
public val ScrollableContentMaxSweepAngle: Float = 70f

The default maximum sweep angle in degrees used by drawCurvedToEdge. This threshold is for the drawCurvedToEdge displayed on screens with scrollable content, such as lists.

This is calculated by keeping the length of the corresponding chord on the circle to be approximately 57% of the screen width.

StaticContentMaxSweepAngle

Source set: Android
public val StaticContentMaxSweepAngle: Float = 120f

The recommended maximum sweep angle in degrees used by drawCurvedToEdge for screens without scrollable content.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: