Module components

Module components 

Source

Modules§

plottersplot
Plotters - A Rust drawing library focusing on data plotting for both WASM and native applications 🦀📈🚀

Macros§

get_theme

Structs§

Accordion
A container that expands/collapses vertically when pressed.
AccordionTheme
Theming properties for the Accordion component.
AccordionThemePartial
You can use this to change a theme for only one component, with the theme property.
AccordionThemePreference
Theming properties for the Accordion component.
ActivableRouterouter
ActivableRouteContext
AnimatedRouter
ArrowIcon
Button
Simply a button.
ButtonColorsTheme
Theming properties for the ButtonColors component.
ButtonColorsThemePartial
You can use this to change a theme for only one component, with the theme property.
ButtonColorsThemePreference
Theming properties for the ButtonColors component.
ButtonLayoutTheme
Theming properties for the ButtonLayout component.
ButtonLayoutThemePartial
You can use this to change a theme for only one component, with the theme property.
ButtonLayoutThemePreference
Theming properties for the ButtonLayout component.
ButtonSegment
A segment button to be used within a SegmentedButton.
ButtonSegmentTheme
Theming properties for the ButtonSegment component.
ButtonSegmentThemePartial
You can use this to change a theme for only one component, with the theme property.
ButtonSegmentThemePreference
Theming properties for the ButtonSegment component.
Calendarcalendar
A calendar component for date selection.
CalendarDatecalendar
A simple date representation for the calendar.
CalendarTheme
Theming properties for the Calendar component.
CalendarThemePartial
You can use this to change a theme for only one component, with the theme property.
CalendarThemePreference
Theming properties for the Calendar component.
Checkbox
Checkbox component.
CheckboxTheme
Theming properties for the Checkbox component.
CheckboxThemePartial
You can use this to change a theme for only one component, with the theme property.
CheckboxThemePreference
Theming properties for the Checkbox component.
Chip
ChipTheme
Theming properties for the Chip component.
ChipThemePartial
You can use this to change a theme for only one component, with the theme property.
ChipThemePreference
Theming properties for the Chip component.
CircularLoader
Circular loader component.
CircularLoaderTheme
Theming properties for the CircularLoader component.
CircularLoaderThemePartial
You can use this to change a theme for only one component, with the theme property.
CircularLoaderThemePreference
Theming properties for the CircularLoader component.
ColorsSheet
ContextMenu
CursorArea
A container that changes the cursor icon when hovered.
DragZone
Properties for the DragZone component.
Draggable
DraggableCanvas
DropZone
FloatingTab
FloatingTabTheme
Theming properties for the FloatingTab component.
FloatingTabThemePartial
You can use this to change a theme for only one component, with the theme property.
FloatingTabThemePreference
Theming properties for the FloatingTab component.
Gifgif
GifElementgif
GifViewergif
GIF viewer component.
ImageViewer
Image viewer component.
Input
Small box to write some text.
InputTheme
Theming properties for the Input component.
InputThemePartial
You can use this to change a theme for only one component, with the theme property.
InputThemePreference
Theming properties for the Input component.
InputValidator
Link
LinkTheme
Theming properties for the Link component.
LinkThemePartial
You can use this to change a theme for only one component, with the theme property.
LinkThemePreference
Theming properties for the Link component.
Menu
Floating menu container.
MenuButton
Like a button, but for Menus.
MenuContainer
Container for menu items with proper spacing and layout.
MenuContainerTheme
Theming properties for the MenuContainer component.
MenuContainerThemePartial
You can use this to change a theme for only one component, with the theme property.
MenuContainerThemePreference
Theming properties for the MenuContainer component.
MenuGroup
MenuItem
A clickable menu item with hover and focus states.
MenuItemTheme
Theming properties for the MenuItem component.
MenuItemThemePartial
You can use this to change a theme for only one component, with the theme property.
MenuItemThemePreference
Theming properties for the MenuItem component.
NativeRouter
OverflowedContent
Animate the content of a container when the content overflows.
Panel
Plotplot
PlotElementplot
PlotSkiaBackendplot
PlotSkiaBackendErrorplot
Popup
Floating popup / dialog.
PopupBackground
Popup background wrapper.
PopupButtons
Popup buttons container.
PopupContent
Popup content wrapper.
PopupTheme
Theming properties for the Popup component.
PopupThemePartial
You can use this to change a theme for only one component, with the theme property.
PopupThemePreference
Theming properties for the Popup component.
PopupTitle
Popup title.
Portal
PortalsMap
ProgressBar
ProgressBar component.
ProgressBarTheme
Theming properties for the ProgressBar component.
ProgressBarThemePartial
You can use this to change a theme for only one component, with the theme property.
ProgressBarThemePreference
Theming properties for the ProgressBar component.
RadioItem
Radio component.
RadioItemTheme
Theming properties for the RadioItem component.
RadioItemThemePartial
You can use this to change a theme for only one component, with the theme property.
RadioItemThemePreference
Theming properties for the RadioItem component.
RenderCallbackplot
ResizableContainer
ResizableContext
ResizableHandle
ResizableHandleTheme
Theming properties for the ResizableHandle component.
ResizableHandleThemePartial
You can use this to change a theme for only one component, with the theme property.
ResizableHandleThemePreference
Theming properties for the ResizableHandle component.
ResizablePanel
ScrollBar
ScrollBarTheme
Theming properties for the ScrollBar component.
ScrollBarThemePartial
You can use this to change a theme for only one component, with the theme property.
ScrollBarThemePreference
Theming properties for the ScrollBar component.
ScrollConfig
ScrollController
ScrollRequest
ScrollThumb
ScrollView
Scrollable area with bidirectional support and scrollbars.
SegmentedButton
A container for grouping ButtonSegments together.
SegmentedButtonTheme
Theming properties for the SegmentedButton component.
SegmentedButtonThemePartial
You can use this to change a theme for only one component, with the theme property.
SegmentedButtonThemePreference
Theming properties for the SegmentedButton component.
Select
Select between different items component.
SelectTheme
Theming properties for the Select component.
SelectThemePartial
You can use this to change a theme for only one component, with the theme property.
SelectThemePreference
Theming properties for the Select component.
SelectableText
SideBar
SideBarItem
SideBarItemTheme
Theming properties for the SideBarItem component.
SideBarItemThemePartial
You can use this to change a theme for only one component, with the theme property.
SideBarItemThemePreference
Theming properties for the SideBarItem component.
SideBarTheme
Theming properties for the SideBar component.
SideBarThemePartial
You can use this to change a theme for only one component, with the theme property.
SideBarThemePreference
Theming properties for the SideBar component.
Slider
Slider component.
SliderTheme
Theming properties for the Slider component.
SliderThemePartial
You can use this to change a theme for only one component, with the theme property.
SliderThemePreference
Theming properties for the Slider component.
SubMenu
Create sub menus inside a Menu.
Switch
Toggle between true and false.
SwitchTheme
Theming properties for the Switch component.
SwitchThemePartial
You can use this to change a theme for only one component, with the theme property.
SwitchThemePreference
Theming properties for the Switch component.
Table
TableArrow
TableBody
TableCell
TableConfig
TableHead
TableHead props (manual)
TableRow
TableTheme
Theming properties for the Table component.
TableThemePartial
You can use this to change a theme for only one component, with the theme property.
TableThemePreference
Theming properties for the Table component.
Theme
TickIcon
Tile
Tooltip
Tooltip component.
TooltipContainer
TooltipTheme
Theming properties for the Tooltip component.
TooltipThemePartial
You can use this to change a theme for only one component, with the theme property.
TooltipThemePreference
Theming properties for the Tooltip component.
Uriremote-asset
The URI component of a request.
VirtualScrollView
One-direction scrollable area that dynamically builds and renders items based in their size and current available size, this is intended for apps using large sets of data that need good performance.

Enums§

AnimatedRouterContext
ButtonLayoutVariant
ButtonSegmentStatus
Identifies the current status of the ButtonSegments.
ButtonStatus
ButtonStyleVariant
CalendarDayStatuscalendar
ChipStatus
GifSourcegif
URI
HandleStatus
Describes the current status of the Handle.
ImageSource
URI
InputMode
InputStatus
LinkTooltip
Tooltip configuration for the Link component.
OrderDirection
ResizableError
ScrollEvent
ScrollPosition
SelectStatus
SelectableTextStatus
Current status of the SelectableText.
SliderStatus
SurfaceThemeIndicator
Indicates what type of surface to use.
TabStatus
Current status of the Tab.
TileStatus
TooltipPosition
WeekStartcalendar
Determines which day the week starts on.

Constants§

DARK_THEME
LIGHT_THEME

Traits§

AccordionThemePartialExt
ButtonColorsThemePartialExt
ButtonLayoutThemePartialExt
ButtonSegmentThemePartialExt
CalendarThemePartialExt
CheckboxThemePartialExt
ChipThemePartialExt
CircularLoaderThemePartialExt
FloatingTabThemePartialExt
FromPreference
InputThemePartialExt
LabelThemeExt
LinkThemePartialExt
MenuContainerThemePartialExt
MenuItemThemePartialExt
ParagraphThemeExt
PopupThemePartialExt
ProgressBarThemePartialExt
RadioItemThemePartialExt
RectThemeExt
ResizableHandleThemePartialExt
ScrollBarThemePartialExt
SegmentedButtonThemePartialExt
SelectThemePartialExt
SideBarItemThemePartialExt
SideBarThemePartialExt
SliderThemePartialExt
SwitchThemePartialExt
TableThemePartialExt
TooltipThemePartialExt

Functions§

gallery
get_theme_or_default
Subscribe to Theme changes, default theme will be used if there is no provided Theme.
plotplot
Create a new Plot element.
radio
use_activable_route
use_animated_router
Shortcut to get access to the AnimatedRouterContext.
use_init_root_theme
use_init_surface_theme_indicator
Provide a SurfaceThemeIndicator down to the components.
use_init_theme
Provides a custom Theme.
use_scroll_controller
use_surface_theme_indicator
Get the inherited SurfaceThemeIndicator.
use_theme
Subscribe to Theme changes.