Components topic

Components

The component library consists of various Flume component implementations as well as utilities and convenience tools for effectively implementing Flume in any Flutter application.

Classes

Button Components
A regular button, with a variety of sizes and variants.
Cell Components
A list cell from the Flume design system.
Checkbox Components
A checkbox that can be checked or unchecked.
FlatButton Components
A flat button is a button that has a "flat" appearance, meaning it looks like regular text, but has some button states and capabilities.
FlumeIcons Components
FormGroup Components
A widget that groups a label and child together.
Gap Components
An empty spacing widget used to create padding or space. Requires a Provider of Axis to determine the direction.
IconButton Components
A button that displays an icon.
InputField Components
An input field from the Flume design system.
ScrollableList Components
A wrapper around ListView with Flume-specific customizations.
A widget that displays a search bar.
Skeleton Components
A shimmer/skeleton placeholder component from the Flume design system.
TabButton Components
A tab button that can be tabbed (selected or unselected).
ToggleButton Components
A button that can be toggled on and off.
TonalSwitch Components
A widget that displays a switch that adapts to the current platform, and uses the current Ambiance to determine its colors.
ValidationMessage Components
A widget that displays a validation message.

Functions

calculateSize(String text, TextStyle style) Size Components
Calculates and returns the Size of the given text and its style.

Enums

ButtonSize Components
The size of a button.
ButtonState Components
The state of a button.
ButtonVariant Components
The variant of a button.
IconPosition Components
The position of an icon in a button, relative to its child widget.
InputState Components
A state for an InputField.
ToggleButtonVariant Components
The variant of a ToggleButton.
ValidationState Components
The state of a validation message.