Radio Button
fun RadioButton(checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, sizeType: RadioButtonSize = RadioButtonSize.Medium, text: String = "", enabled: Boolean = true, contentColor: Color = HandyTheme.colors.buttonRadioSelected)
단일 선택을 나타낼 수 있는 RadioButton입니다.
Parameters
checked
RadioButton의 선택 유무
on Checked Change
RadioButton의 선택 상태가 변경될 때 호출되는 함수
modifier
RadioButton에 대한 선택적 Modifier
size Type
RadioButton의 크기에 따른 텍스트의 타이포, 아이콘 사이즈 설정. 기본값은 Medium
text
RadioButton 옆에 표시되는 텍스트
enabled
RadioButton의 활성화 유무
content Color
RadioButton의 아이콘 색상