🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

RippleConfiguration.Focus

The configuration options for the focus indication for RippleConfiguration.

Source set: Common
public sealed class Focus private constructor()

The configuration options for the focus indication for RippleConfiguration.

Members

Opacity

Source set: Common
public object Opacity : Focus()

An opacity-based focus indication.

InsetRing

Source set: Common
public class InsetRing(
            public val outerStrokeColor: Color,
            public val innerStrokeColor: Color,
        ) : Focus()

An inset ring focus indication. This is drawn using two strokes, an outer stroke and an inner stroke. The inner stroke is drawn first, followed by the outer stroke.

As this describes a use-site specific override, the inset ring dimensions are controlled with RippleThemeConfiguration.Focus.InsetRing instead.

Parameters

outerStrokeColor the color of the outer stroke.
innerStrokeColor the color of the inner stroke.

Functions

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

Content updated: