Module components

Source

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.
ActivableRouteContext
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.
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
DragZone
Properties for the DragZone component.
Draggable
DraggableCanvas
DropZone
Dropdown
Select between different items component.
DropdownItem
DropdownItemTheme
Theming properties for the DropdownItem component.
DropdownItemThemePartial
You can use this to change a theme for only one component, with the theme property.
DropdownItemThemePreference
Theming properties for the DropdownItem component.
DropdownTheme
Theming properties for the Dropdown component.
DropdownThemePartial
You can use this to change a theme for only one component, with the theme property.
DropdownThemePreference
Theming properties for the Dropdown component.
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.
Gif
GifElement
GifViewer
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
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.
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.
Panel
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.
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.
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.
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§

ButtonLayoutVariant
ButtonStatus
ButtonStyleVariant
ChipStatus
DropdownItemStatus
DropdownStatus
GifSource
URI
HandleStatus
Describes the current status of the Handle.
ImageSource
URI
InputMode
InputStatus
OrderDirection
ResizableError
ScrollEvent
ScrollPosition
SelectableTextStatus
Current status of the SelectableText.
SliderStatus
SurfaceThemeIndicator
Indicates what type of surface to use.
TabStatus
Current status of the Tab.
TileStatus
TooltipPosition

Constants§

DARK_THEME
LIGHT_THEME

Traits§

AccordionThemePartialExt
ButtonColorsThemePartialExt
ButtonLayoutThemePartialExt
CheckboxThemePartialExt
ChipThemePartialExt
CircularLoaderThemePartialExt
DropdownItemThemePartialExt
DropdownThemePartialExt
FloatingTabThemePartialExt
FromPreference
InputThemePartialExt
LabelThemeExt
LinkThemePartialExt
MenuContainerThemePartialExt
MenuItemThemePartialExt
ParagraphThemeExt
PopupThemePartialExt
ProgressBarThemePartialExt
RadioItemThemePartialExt
RectThemeExt
ResizableHandleThemePartialExt
ScrollBarThemePartialExt
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.
radio
use_activable_route
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.