[−][src]Module druid::widget
Common widgets.
Modules
prelude | The types required to implement a |
Structs
Align | A widget that aligns its child. |
Button | A button with a text label. |
Checkbox | A checkbox that toggles a |
Click | A clickable |
Container | A widget that provides simple visual styling options to a child. |
ControllerHost | A |
Either | A widget that switches between two possible child views. |
EnvScope | A widget that accepts a closure to update the environment for its child. |
Flex | A container with either horizontal or vertical layout. |
FlexParams | Optional parameters for an item in a |
IdentityWrapper | A wrapper that adds an identity to an otherwise anonymous widget. |
Label | A label that displays some text. |
List | A list widget for a variable-size collection of items. |
Padding | A widget that just adds padding around its child. |
Painter | A widget that only handles painting. |
Parse | Converts a |
ProgressBar | A progress bar, displaying a numeric progress value. |
Radio | A single radio button |
RadioGroup | A group of radio buttons |
Scroll | A container that scrolls its contents. |
SizedBox | A widget with predefined size. |
Slider | A slider, allowing interactive update of a numeric value. |
Split | A container containing two other widgets, splitting the area either horizontally or vertically. |
Stepper | A stepper widget for step-wise increasing and decreasing a value. |
Switch | A switch that toggles a |
TextBox | A widget that allows user text input. |
ViewSwitcher |
Enums
BackgroundBrush | Something that can be used as the background for a widget. |
CrossAxisAlignment | The alignment of the widgets on the container's cross (or minor) axis. |
FillStrat | |
LabelText | The text for the label |
MainAxisAlignment | Arrangement of children on the main axis. |
Traits
Controller | A trait for types that modify behaviour of a child widget. |
ListIter | This iterator enables writing List widget for any |