Skip to content

Instantly share code, notes, and snippets.

View covercash2's full-sized avatar

Chris Overcash covercash2

View GitHub Profile
use druid::{AppLauncher, PlatformError, Widget, WidgetExt, WindowDesc};
use druid::{
widget::{Flex, Label, Painter, TextBox},
Color, Data, Lens, RenderContext,
};
/// state data.
/// `string` is updated via the `TextBox`
#[derive(Clone, Debug, Data, Lens)]