-
Notifications
You must be signed in to change notification settings - Fork 198
RadioGroup and Radio Buttons
The RadioButton is a control that can be toggled to change a variable or call a function. The 'Toggle' (default name) object contains the RippleConfig component, automatically giving the RadioButton dynamic ripple effects.
The RadioGroup control manages the details of the attached RadioButtons.
Animation Duration - The duration of the toggle animation.
Dot Image - The Linked Image of the Dot. This does not usually need to be changed.
Ring Image - The Linked Image of the Ring. This does not usually need to be changed.
The RadioGroup Options override the RippleConfig, RadioButtonConfig and Image settings of the attached RadioButtons.
Adding/Removing RadioButtons:
All RadioButtons in a RadioGroup are automatically positioned, so the easiest way to add RadioButtons is to duplicate an existing one within the group. Simply delete one to remove it from the group, and the other RadioButtons will adjust accordingly.