In the new update of jetpack compose , a default padding space will be provided around the touchables as said in official documentation. Refer this
Please help how to avoid this and to implement this "set LocalMinimumTouchTargetEnforcement to false " and where to do this?
You need to provide it with CompositionLocalProvider
CompositionLocalProvider(LocalMinimumInteractiveComponentEnforcement provides false) {
    Checkbox(
        checked = checked,
        onCheckedChange = {
            checked = it
        }
    )
}
androidx.compose.material3:material3:1.3.0-beta04
CompositionLocalProvider(LocalMinimumInteractiveComponentSize provides Dp.Unspecified) {
                Checkbox(
                    checked = checked,
                    onCheckedChange = {
                        checked = it
                    }
                )
            }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With