LocalMinimumInteractiveComponentSize
Property
Common
val LocalMinimumInteractiveComponentSize: ProvidableCompositionLocal<Dp>
CompositionLocal that configures the minimum touch target size for Material components (such as
Button
) to ensure they are accessible. If a component has a visual size that is lower than the
minimum touch target size, extra space outside the component will be included. If set to 0.dp,
there will be no extra space, and so it is possible that if the component is placed near the edge
of a layout / near to another component without any padding, there will not be enough space for
an accessible touch target.