fun Icon(active: Boolean, activeContent: @Composable () -> Unit = { ActiveIcon() }, inactiveContent: @Composable () -> Unit? = null) The default implementation of icons for Segmented Buttons.
Parameters
whether the button is activated or not.
usually a checkmark icon of IconSize dimensions.
typically an icon of IconSize. It shows only when the button is not checked.