Draft nodes for missing widgets
This commit is contained in:
parent
8834772fa7
commit
655978f480
16 changed files with 191 additions and 36 deletions
|
|
@ -38,9 +38,12 @@ use crate::{
|
|||
///
|
||||
/// 
|
||||
pub struct Checkbox<Color, Message> {
|
||||
is_checked: bool,
|
||||
on_toggle: Box<dyn Fn(bool) -> Message>,
|
||||
label: String,
|
||||
/// Whether the checkbox is checked or not
|
||||
pub is_checked: bool,
|
||||
/// Toggle message to fire
|
||||
pub on_toggle: Box<dyn Fn(bool) -> Message>,
|
||||
/// The label of the checkbox
|
||||
pub label: String,
|
||||
label_color: Option<Color>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue