Merge pull request #1762 from ahoneybun/radio-example

Radio example
This commit is contained in:
Héctor Ramón 2023-04-12 06:54:28 +02:00 committed by GitHub
commit e7549877ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 6 deletions

View file

@ -147,7 +147,7 @@ where
Renderer::Theme: widget::radio::StyleSheet,
V: Copy + Eq,
{
widget::Radio::new(value, label, selected, on_click)
widget::Radio::new(label, value, selected, on_click)
}
/// Creates a new [`Toggler`].