remix library

Remix design system widgets and styles.

Remix ships no theme. For a ready-made Fortaleza-inspired starting point, initialize the application-owned fortal preset with remix_cli.

Classes

AbsNumberDirective
Returns the absolute value of a numeric value.
AccordionSpec
Resolved visual properties for a RemixAccordion.
AccordionStyler
AddNumberDirective
Adds a value to a numeric value.
AlignmentDirectionalRef
Token reference for AlignmentDirectional values
AlignmentGeometryRef
Token reference for AlignmentGeometry values
AlignmentRef
Token reference for Alignment values
AlignModifier
Modifier that aligns its child within the available space.
AlignModifierMix
AlphaColorDirective
Directive that applies alpha to a color.
AnimationConfig
Configuration data for animated styles in the Mix framework.
AppBarSpec
Resolved visual values for a RemixAppBar.
AppBarStyler
AspectRatioModifier
Modifier that constrains its child to a specific aspect ratio.
AspectRatioModifierMix
AutoGridTrack
Vertical track sized to the tallest assigned child's natural height.
AvatarSpec
Resolved visual properties for a RemixAvatar.
AvatarStyler
BadgeSpec
Resolved visual properties for a RemixBadge.
BadgeStyler
BaseShadowMix<T extends Shadow>
Base class for shadow styling.
BeveledRectangleBorderMix
Mix-compatible representation of Flutter's BeveledRectangleBorder with beveled corners.
BlurModifier
Modifier that applies a Gaussian blur filter to its child.
BlurModifierMix
BorderConverter
Converts Border to BorderMix.
BorderDirectionalMix
Mix-compatible representation of Flutter's BorderDirectional with RTL support.
BorderMix
Mix representation of Border.
BorderRadiusConverter
Converts BorderRadius to BorderRadiusMix.
BorderRadiusDirectionalMix
Mix representation of BorderRadiusDirectional.
BorderRadiusDirectionalRef
Token reference for BorderRadiusDirectional values
BorderRadiusGeometryConverter
Converts BorderRadiusGeometry to BorderRadiusMix.
BorderRadiusGeometryMix<T extends BorderRadiusGeometry>
Base class for Mix border radius types.
BorderRadiusGeometryRef
Token reference for BorderRadiusGeometry values
BorderRadiusMix
Mix representation of BorderRadius.
BorderRadiusRef
Token reference for BorderRadius values
BorderSideConverter
Converts BorderSide to BorderSideMix.
BorderSideMix
Mix-compatible representation of Flutter's BorderSide for individual border styling.
BorderSideRef
Token reference for BorderSide values.
BorderSideToken
Design token for BorderSide values.
Box
Box is equivalent to Flutter's Container, it provides styling capabilities through the Mix framework. It can be used to create visually styled boxes with decoration, padding, margins, transforms, and constraints.
BoxBorderMix<T extends BoxBorder>
Base class for Mix border types.
BoxBorderRef
Token reference for BoxBorder values
BoxConstraintsConverter
Converts BoxConstraints to BoxConstraintsMix.
BoxConstraintsMix
Mix representation of BoxConstraints.
BoxConstraintsRef
Token reference for BoxConstraints values
BoxDecorationConverter
Converts BoxDecoration to BoxDecorationMix.
BoxDecorationMix
Mix representation of BoxDecoration.
BoxDecorationRef
Token reference for BoxDecoration values
BoxModifier
Modifier that wraps its child in a styled Container using BoxSpec styling.
BoxModifierMix
Mix class for applying box (Container) modifications.
BoxShadowConverter
Converts BoxShadow to BoxShadowMix.
BoxShadowListMix
Mix wrapper for a list of BoxShadowMix items resolving to List<BoxShadow>.
BoxShadowListMixRef
Token reference for BoxShadowListMix that implements Mix interface instead of Flutter interface
BoxShadowListRef
Token reference for List<BoxShadow> values
BoxShadowMix
Mix representation of BoxShadow.
BoxShadowMixRef
Token reference for BoxShadowMix that implements Mix interface instead of Flutter interface
BoxShadowRef
Token reference for BoxShadow values
BoxShadowToken
Design token for box shadow lists.
BoxSpec
Specification for box styling and layout properties.
BoxStyler
Breakpoint
Represents an inclusive size range used for responsive styling.
BreakpointRef
Token reference for Breakpoint values
BreakpointToken
Design token for Breakpoint values.
BreakpointVariant
Context variant that applies for a concrete or token-backed breakpoint.
BrightenColorDirective
Directive that brightens a color.
BrightnessVariant
Context variant that applies for a platform brightness.
ButtonSpec
Resolved visual properties for a RemixButton.
ButtonStyler
CalloutSpec
Resolved visual values for a RemixCallout.
CalloutStyler
CapitalizeStringDirective
Directive that capitalizes the first letter of a string.
CardSpec
Resolved visual properties for a RemixCard.
CardStyler
CeilNumberDirective
Ceils a numeric value (rounds up).
CheckboxSpec
Resolved visual properties for a RemixCheckbox.
CheckboxStyler
CircleBorderMix
Mix representation of CircleBorder.
ClampNumberDirective
Clamps a numeric value between min and max bounds.
ClipOvalModifier
Modifier that clips its child to an oval shape.
ClipOvalModifierMix
ClipPathModifier
Modifier that clips its child using a custom path.
ClipPathModifierMix
ClipRectModifier
Modifier that clips its child to a rectangular shape.
ClipRectModifierMix
ClipRRectModifier
Modifier that clips its child to a rounded rectangular shape.
ClipRRectModifierMix
ClipTriangleModifier
Modifier that clips its child to a triangle shape.
ClipTriangleModifierMix
ColorRef
Token reference for Color values with directive support.
ColorToken
Design token for Color values.
ColumnBox
Vertical flex box with Mix styling.
ConstraintsMix<T extends Constraints>
Base class for Mix constraint types.
ContextToken<T>
A token that computes its value from BuildContext.
ContextVariant
Variants that automatically apply based on context conditions.
ContextVariantBuilder<S extends Style<Object?>>
Variant that dynamically builds a Style based on build context.
ContinuousRectangleBorderMix
Mix-compatible representation of Flutter's ContinuousRectangleBorder with smooth curved corners.
ConversionContext
Provides context for type conversion operations.
CssKeywordLinearTransform
Bounds-aware CSS keyword transform for linear gradients.
CurveAnimationConfig
Curve-based animation configuration with fixed duration.
CurveAnimationDriver<S extends Spec<S>>
A driver for curve-based animations with fixed duration.
CurveRef
Token reference for Curve values
DarkenColorDirective
Directive that darkens a color.
DataListSpec
Resolved visual values for a RemixDataList.
DataListStyler
DataTableSpec
Resolved visual values for a RemixDataTable.
DataTableStyler
DecorationConverter
Converts Decoration to its corresponding Mix type.
DecorationImageMix
Mix representation of DecorationImage.
DecorationImageRef
Token reference for DecorationImage values
DecorationMix<T extends Decoration>
Base class for decoration styling.
DefaultTextStyleModifier
Modifier that applies default text styling to its descendants.
DefaultTextStyleModifierMix
DefaultTextStylerModifier
Modifier that propagates a TextStyler to descendant StyledText widgets.
DefaultTextStylerModifierMix
Mix class for DefaultTextStylerModifier.
DesaturateColorDirective
Directive that desaturates a color.
DialogSpec
Resolved visual properties for a RemixDialog.
DialogStyler
DirectionalityVariant
Context variant that applies for inherited text direction.
Directive<T>
Base class for directives that apply transformations to values.
DisclosureSpec
Resolved visual properties for a RemixDisclosure.
DisclosureStyler
DivideNumberDirective
Divides a numeric value by a divisor.
DividerSpec
Resolved visual values for a RemixDivider.
DividerStyler
DoubleToken
Design token for general double values.
DurationRef
Token reference for Duration values
DurationToken
Design token for Duration values.
EdgeInsetsConverter
Converts EdgeInsets to EdgeInsetsMix.
EdgeInsetsDirectionalMix
Mix representation of EdgeInsetsDirectional.
EdgeInsetsDirectionalRef
Token reference for EdgeInsetsDirectional values
EdgeInsetsGeometryConverter
Converts EdgeInsetsGeometry to its corresponding Mix type.
EdgeInsetsGeometryMix<T extends EdgeInsetsGeometry>
Base class for Mix edge insets types.
EdgeInsetsGeometryRef
Token reference for EdgeInsetsGeometry values
EdgeInsetsMix
Mix representation of EdgeInsets.
EdgeInsetsRef
Token reference for EdgeInsets values
FixedGridTrack
Track with a fixed size in logical pixels.
FlexBox
FlexBox combines Flutter's Container and Flex widgets with Mix styling.
FlexBoxSpec
Specification that combines box styling and flex layout properties.
FlexBoxStyler
FlexibleModifier
Modifier that makes its child flexible within a flex layout.
FlexibleModifierMix
FlexSpec
Defines the styling for a Flex widget.
FlexStyler
FloorNumberDirective
Floors a numeric value (rounds down).
FocusVisibility
Whether focused widgets should show a focus indicator.
FocusVisibilityScope
Rebuilds descendants that call FocusVisibility.of when focus visibility changes.
FocusVisibleVariant
Context variant that applies to focus while FocusVisibility.isVisible.
FontFeatureRef
Token reference for FontFeature values
FontWeightRef
Token reference for FontWeight values
FontWeightToken
Design token for FontWeight values.
FractionallySizedBoxModifier
Modifier that sizes its child to a fraction of the available space.
FractionallySizedBoxModifierMix
FrGridTrack
Track that takes a fraction of remaining free space after fixed tracks.
FunctionMixConverter<T>
A converter that delegates to a function.
GradientConverter
Converts Gradient to its corresponding Mix type.
GradientMix<T extends Gradient>
Base class for gradient styling.
GradientRef
Token reference for Gradient values
GradientTransformRef
Token reference for GradientTransform values
GridBox
Multi-child Grid widget driven by GridBoxStyler and GridBoxSpec.
GridBoxSpec
Immutable, validated geometry resolved from GridBoxStyler.
GridBoxStyler
Fluent style for GridBox.
GridConstraintBranch
One local-constraint branch: breakpoint to patch.
GridLayoutPatch
Partial geometry override for a constraint-matched branch.
GridTrack
How a grid track is sized.
IconButtonSpec
Resolved visual properties for a RemixIconButton.
IconButtonStyler
IconScope
Provides icon styling context to descendant widgets.
IconSpec
Specification for icon styling properties.
IconStyler
IconThemeModifier
Modifier that applies icon theme data to its descendants.
IconThemeModifierMix
Represents the attributes of a IconThemeModifier.
IdentityStyle<S extends Spec<S>>
A no-op Style that resolves to a provided Spec.
ImageProviderRef
Token reference for ImageProvider values
ImageSpec
Specification for image styling properties.
ImageStyler
ImplicitAnimationDriver<S extends Spec<S>, C extends AnimationConfig>
IntrinsicHeightModifier
Modifier that forces its child to be exactly as tall as its intrinsic height.
IntrinsicHeightModifierMix
IntrinsicWidthModifier
Modifier that forces its child to be exactly as wide as its intrinsic width.
IntrinsicWidthModifierMix
Keyframe<T>
KeyframeAnimationConfig<S extends Spec<S>>
KeyframeAnimationDriver<S extends Spec<S>>
A driver for keyframe-based animations with complex timeline control.
KeyframeAnimationResult
KeyframeTrack<T>
LightenColorDirective
Directive that lightens a color.
LinearBorderEdgeMix
Mix-compatible representation of LinearBorderEdge with size and alignment properties.
LinearBorderMix
Mix-compatible representation of Flutter's LinearBorder with configurable edge styling.
LinearGradientConverter
Converts LinearGradient to LinearGradientMix.
LinearGradientMix
Mix representation of LinearGradient.
LinearGradientRef
Token reference for LinearGradient values.
LinkSpec
Resolved visual properties for a RemixLink.
LinkStyler
LocaleRef
Token reference for Locale values
LowercaseStringDirective
Directive that converts a string to lowercase.
MaterialTokens
Provides access to Material Design tokens for colors and text styles.
Matrix4Ref
Token reference for Matrix4 values
Resolved visual properties for a RemixMenuItem.
Resolved visual properties for a RemixMenu.
Resolved visual properties for RemixMenuTrigger.
Mix<T>
Base class for Mix-compatible styling elements that are both mixable and resolvable.
Mixable<T>
Base class for types that can be merged together.
MixColors
A class that defines a comprehensive set of colors and color swatches for the Mix framework.
MixConverter<T>
Defines how to convert values to their Mix representations.
MixConverterRegistry
A singleton registry for type converters.
MixOps
Core operations for Mix framework value transformations.
MixScope
Provides Mix design tokens and configuration to descendant widgets.
MixSource<V>
A source that contains a Mix value.
MixStyler<ST extends Style<SP>, SP extends Spec<SP>>
MixToken<T>
A design token that resolves to a value within a Mix theme.
ModifierListTween
ModifierMix<S extends WidgetModifier<S>>
MouseCursorModifier
Modifier that applies a mouse cursor to its child.
MouseCursorModifierMix
MultiplyNumberDirective
Multiplies a numeric value by a factor.
NakedAccordionItemState<T>
Immutable state exposed to NakedAccordion builders.
NakedDisclosureState
Immutable view passed to NakedDisclosure.builder and NakedDisclosure.itemBuilder.
NakedMenuState
Immutable view passed to NakedMenu.builder.
NakedTabState
Immutable view passed to NakedTab.builder.
NamedVariant
Manual variants applied when explicitly requested.
NoAnimationDriver<S extends Spec<S>>
A driver that bypasses all animation and immediately applies spec changes.
NotVariant
Context variant that applies when another context variant does not.
NumberDirective
Base class for number directives that transform numeric values.
OffsetRef
Token reference for Offset values
OpacityColorDirective
Directive that applies opacity to a color.
OpacityModifier
Modifier that applies opacity to its child.
OpacityModifierMix
OrientationVariant
Context variant that applies for a media-query orientation.
OutlinedBorderMix<T extends OutlinedBorder>
Base class for outlined shape borders.
OverlayPlacement
The resolved overlay placement after collision handling.
OverlayPositionConfig
Configuration for Radix-shaped anchored-overlay positioning.
PaddingModifier
Modifier that adds padding around its child.
PaddingModifierMix
PhaseAnimationConfig<T extends Spec<T>, U extends Style<T>>
PhaseAnimationDriver<S extends Spec<S>>
A driver for multi-phase animations that cycle through multiple specs.
PlatformVariant
Context variant that applies for the current default target platform.
PointerPosition
Data class for pointer position information.
PointerPositionNotifier
Notifier that tracks cursor position with automatic listener detection.
PointerPositionProvider
Internal provider for cursor position tracking.
PopoverSpec
Resolved visual properties for a RemixPopover overlay.
PopoverStyler
Pressable
Base widget for handling press gestures and states.
PressableBox
Combines Box styling with gesture handling.
PressableWidgetState
ProgressSpec
Resolved visual values for a RemixProgress.
ProgressStyler
Prop<V>
A property that can hold values, tokens, or Mix types.
PropOps
Operations for Prop merge and resolution logic.
PropSource<V>
Represents the origin of a property value.
RadialGradientConverter
Converts RadialGradient to RadialGradientMix.
RadialGradientMix
Mix representation of RadialGradient.
RadialGradientRef
Token reference for RadialGradient values.
RadioSpec
Defines the resolved styling structure for RemixRadio.
RadioStyler
RadiusRef
Token reference for Radius values
RadiusToken
Design token for Radius values.
RectRef
Token reference for Rect values
RemixAccordion<T>
An individual accordion item.
RemixAccordionGroup<T>
A purely behavioral accordion group component that manages expansion state.
RemixAppBar
A bar across the top of a page or pane with slots for leading, title, actions, and bottom content.
RemixAvatar
A customizable avatar component that can display an image, label, icon, or custom child.
RemixBadge
A badge widget that displays compact text or custom content.
RemixBlendMode
Composites a canvas-painted subtree with blendMode against its backdrop.
RemixBoxEffectLayerMix
Mix representation of RemixBoxEffectLayerSpec.
RemixBoxEffectLayerSpec
Resolved ordered box effect layers painted behind component content.
RemixBoxEffectsMix
Mix representation of RemixBoxEffectsSpec.
RemixBoxEffectsSpec
Advanced paint that augments, but does not replace, a Mix Box decoration.
RemixBoxShadow
A CSS-shaped box-shadow layer that can represent real inset shadows.
RemixBoxShadowListToken
A theme token containing an ordered list of inset-capable shadows.
RemixBoxShadowMix
Mix representation of RemixBoxShadow with token-aware fields.
RemixBoxStylerAnchors<T extends Mix<Object?>>
Canonical Box-style anchors supplied by a forwarded nested styler.
RemixButton
A customizable button component that supports text with optional leading and trailing icons, loading states, and styling. The button integrates with the Mix styling system and follows Remix design patterns. For icon-only buttons, use RemixIconButton instead.
RemixCallout
A message row with optional text, icon, or custom content.
RemixCard
A styled surface for related content.
RemixCheckbox
A checkbox with an optional visible label and Mix styling.
RemixCheckboxGroup<T extends Object>
Coordinates a typed set of RemixCheckboxGroupItem options.
RemixCheckboxGroupItem<T extends Object>
A single option in a RemixCheckboxGroup.
RemixCssColorFilterOperation
One ordered CSS color-filter function.
RemixDataList
A semantic label/value list with a shared horizontal label column or a stacked vertical layout.
RemixDataListItem
One label/value pair displayed by a RemixDataList.
RemixDataTable<T>
A controlled table that compares many records under shared column headers.
RemixDataTableColumn<T>
One column shared by every row of a RemixDataTable.
RemixDataTableLabels
Every built-in English string a RemixDataTable can announce or display.
RemixDataTableSort
The column and direction a RemixDataTable is currently sorted by.
RemixDialog
A customizable dialog component.
RemixDisclosure
A standalone trigger that expands or collapses one inline content panel.
RemixDivider
A divider is a thin line that groups content in lists and layouts.
RemixIconButton
A square button that renders typed IconData.
RemixLeafSpinnerPainter
Paints the eight independently fading leaves used by Radix Themes Spinner.
RemixLinearGradientMix
Token-aware Mix representation of a CSS linear gradient.
Styled text that navigates when activated.
RemixMenu<T>
An overlay menu configured with trigger and item data. All styling is centralized in MenuStyler and passed directly to children.
RemixMenuCheckboxItem<T>
A controlled checkbox item in a RemixMenu.
RemixMenuDivider<T>
Data class representing a menu divider.
RemixMenuItem<T>
Data class representing a selectable menu item.
RemixMenuItemData<T>
Base sealed class for all menu item types.
RemixMenuRadioGroup<T>
A controlled mutually exclusive section in a RemixMenu.
RemixMenuRadioItem<T>
A selectable item in a RemixMenuRadioGroup.
RemixMenuSubmenu<T>
A recursively nestable submenu in a RemixMenu.
RemixMenuTrigger
Configuration for a RemixMenu trigger.
RemixMenuTriggerHandle
Menu state and focus node passed to RemixMenuTrigger.control.
RemixOrderedColorFilterModifier
Applies a CSS-compatible sequence to the complete painted child subtree.
RemixPopover
A styled, anchored overlay for supplementary interactive content.
RemixProgress
A progress bar showing a completion value between 0 and 1.
RemixRadio<T>
A customizable radio button component that integrates with the Mix styling system. Must be used within a RemixRadioGroup for proper functionality.
RemixRadioGroup<T>
A widget that groups multiple RemixRadio widgets together.
RemixReducedMotionBuilder
Builds with whether the user asked for reduced motion, and rebuilds when that changes.
RemixSegmentedControl<T extends Object>
An equal-segment, single-select control with roving keyboard focus.
RemixSegmentedControlItem<T extends Object>
Declarative data for one option in a RemixSegmentedControl.
RemixSelect<T>
A customizable select component with data-driven API.
RemixSelectItem<T>
Data class representing a selectable option.
RemixSelectTrigger
Data class representing a select trigger.
RemixSidebar<T extends Object>
A controlled navigation panel with a fixed header, a scrollable list of destinations, and a fixed footer.
RemixSidebarDestination<T extends Object>
Declarative data for one in-app destination in a RemixSidebar.
RemixSidebarSection<T extends Object>
Declarative data for one section in a RemixSidebar.
RemixSkeleton
A decorative loading placeholder that preserves the geometry of its child.
RemixSlider
A customizable slider component that supports various styles and behaviors. The slider integrates with the Mix styling system and follows Remix design patterns.
RemixSpinner
An animated loading indicator with Mix styling.
RemixSpinnerPainter
Paints the established rotating circular indicator and optional track.
RemixStyleSpecBuilder<S extends Spec<S>>
Builds from a raw spec when supplied, otherwise resolves the fluent style.
RemixSwitch
A customizable switch component.
RemixTab
An individual tab button.
RemixTabBar
A container widget for tab buttons.
RemixTabs
A customizable tabs component that supports tab navigation and content switching.
RemixTabView
A tab content panel that is shown when its corresponding tab is selected.
RemixTextArea
A multiline text editor backed by the same implementation as RemixTextField.
RemixTextField
A customizable text field component that supports various styles and behaviors. The text field integrates with the Mix styling system and follows Remix design patterns.
RemixToast
A notification surface: an optional icon, a title, an optional description, an optional action, and an optional close button.
RemixToastAction
A labelled action rendered inside a toast.
RemixToastData
The content and lifetime of one toast shown through a RemixToastScope.
RemixToastScope
Hosts queued, nonmodal toasts styled with RemixToast.
RemixToggle
A customizable toggle button component.
RemixToggleGroup<T>
A styled, single-select toggle group with roving keyboard focus.
RemixToggleGroupItem<T>
Declarative data for one option in a RemixToggleGroup.
RemixTooltip
A trigger widget that displays styled content in a tooltip overlay.
ResetModifier
A modifier specification that resets the style context.
ResetModifierMix
An attribute that resets the modifier context.
RotatedBoxModifier
Modifier that rotates its child by quarter turns.
RotatedBoxModifierMix
RotateModifier
RotateModifierMix
ModifierMix for rotation transform (around Z axis).
RoundedRectangleBorderMix
Mix representation of RoundedRectangleBorder.
RoundedSuperellipseBorderMix
Mix-compatible representation of Flutter's RoundedSuperellipseBorder with smoother corners.
RoundNumberDirective
Rounds a numeric value to the nearest integer (as double).
RowBox
Horizontal flex box with Mix styling.
SaturateColorDirective
Directive that saturates a color.
ScaleModifier
ScaleModifierMix
Mix class for applying scale transform modifications.
ScrollViewModifier
Modifier that applies scroll view properties to its child.
ScrollViewModifierMix
SegmentedControlItemSpec
Resolved visual properties for one segment.
SegmentedControlItemStyler
SegmentedControlSpec
Resolved visual properties for a RemixSegmentedControl.
SegmentedControlStyler
SelectContentSpec
Resolved visual values for the select popup content.
SelectContentStyler
SelectMenuItemSpec
Resolved visual values for a select menu item.
SelectMenuItemStyler
SelectSpec
Resolved visual values for a RemixSelect.
SelectStyler
SelectTriggerSpec
Resolved visual values for the select trigger.
SelectTriggerStyler
SentenceCaseStringDirective
Directive that converts a string to sentence case.
ShadeColorDirective
Directive that applies shade to a color.
ShaderCallbackBuilder
Utility class for common Shader Function(Rect) callbacks.
ShaderMaskModifier
Modifier that applies a shader mask to its child.
ShaderMaskModifierMix
Mix class for applying shader mask modifications.
ShadowConverter
Converts Shadow to ShadowMix.
ShadowListMix
Mix wrapper for a list of ShadowMix items resolving to List<Shadow>.
ShadowListMixRef
Token reference for ShadowListMix that implements Mix interface instead of Flutter interface
ShadowListRef
Token reference for List<Shadow> values
ShadowMix
Mix representation of Shadow.
ShadowMixRef
Token reference for ShadowMix that implements Mix interface instead of Flutter interface
ShadowRef
Token reference for Shadow values
ShadowToken
Design token for shadow lists.
ShapeBorderConverter
Converts ShapeBorder to its corresponding Mix type.
ShapeBorderMix<T extends ShapeBorder>
Base class for Mix shape border types.
ShapeBorderRef
Token reference for ShapeBorder values
ShapeDecorationMix
Mix-compatible representation of Flutter's ShapeDecoration with custom shape support.
SidebarAnimation
One frame of a sidebar's coordinated geometry and text transition.
SidebarSpec
Resolved visual properties for a RemixSidebar.
SidebarStyler
SimpleMixConverter<T>
A converter for types that don't require nested conversions.
SizedBoxModifier
Modifier that constrains its child to a specific size.
SizedBoxModifierMix
SkeletonSpec
Resolved visual values for a RemixSkeleton placeholder.
SkeletonStyler
SkewModifier
SkewModifierMix
ModifierMix for skew transform.
SliderSpec
Resolved visuals for a multi-thumb RemixSlider.
SliderStyler
SpaceToken
Design token for spacing values.
Spec<T extends Spec<T>>
Base class for all resolved specifications that define widget properties.
SpecTween<T extends Spec<T>>
A Tween for interpolating between two Spec objects.
SpinnerSpec
Resolved visual values for an eight-leaf RemixSpinner.
SpinnerStyler
SpringAnimationConfig
Spring-based animation configuration for physics-based animations.
SpringAnimationDriver<S extends Spec<S>>
A driver for spring-based physics animations.
SpringCurve
A curve that uses a spring simulation to animate.
StackBox
StackBox is equivalent to Flutter's Stack and Container widgets combined, but provides powerful styling capabilities through the Mix framework.
StackBoxSpec
Specification that combines box styling and stack layout properties.
StackBoxStyler
StackMix
Mix class for configuring StackSpec properties.
StackSpec
Specification for stack layout properties.
StackStyler
StadiumBorderMix
Mix-compatible representation of Flutter's StadiumBorder with rounded stadium shape.
StarBorderMix
Mix representation of StarBorder.
StrutStyleConverter
Converts StrutStyle to StrutStyleMix.
StrutStyleMix
Mix representation of StrutStyle.
StrutStyleRef
Token reference for StrutStyle values
Style<S extends Spec<S>>
Base class for style classes that can be resolved to specifications.
StyleAnimationBuilder<S extends Spec<S>>
A widget that handles animation of styles using an AnimationDriver.
StyleAnimationDriver<S extends Spec<S>>
Base class for animation drivers that handle style interpolation.
StyleBuilder<S extends Spec<S>>
Builds widgets with Mix styling.
StyledIcon
StyledIcon is equivalent to Flutter's Icon widget, but provides styling capabilities through the Mix framework. It allows you to create visually styled icons with color, size, shadows, and responsive variants.
StyledImage
StyledImage is equivalent to Flutter's Image widget, but provides styling capabilities through the Mix framework. It allows you to create visually styled images with dimensions, colors, blend modes, filters, and responsive variants.
StyledText
StyledText is equivalent to Flutter's Text widget, but provides styling capabilities through the Mix framework. It allows you to create visually styled text with typography, colors, decorations, text transformations, and responsive variants.
StyleProvider<S extends Spec<S>>
Provides unresolved styles to descendant widgets for inheritance.
StylerFieldMetadata
Field metadata exposed by Styler classes produced by Mix's generator.
StyleSpec<T extends Spec<T>>
A widget specification that wraps a pure Spec with widget metadata.
StyleSpecBuilder<S extends Spec<S>>
Builds widgets with resolved style specifications.
StyleSpecProvider<T extends Spec<T>>
Provides a resolved StyleSpec to descendant widgets.
StyleVariation<S extends Spec<S>>
Interface for design system components that adapt their styling based on active variants and user modifications.
StyleWidget<S extends Spec<S>>
Base widget for applying Mix styles to Flutter widgets.
SubtractNumberDirective
Subtracts a value from a numeric value.
SweepGradientConverter
Converts SweepGradient to SweepGradientMix.
SweepGradientMix
Mix representation of SweepGradient.
SweepGradientRef
Token reference for SweepGradient values.
SwitchSpec
Resolved visual values for a RemixSwitch.
SwitchStyler
TabBarSpec
Resolved visual values for a RemixTabBar.
TabBarStyler
TableBorderRef
Token reference for TableBorder values
TableColumnWidthRef
Token reference for TableColumnWidth values
TabSpec
Resolved visual values for an individual RemixTab.
TabStyler
TabViewSpec
Resolved visual values for a RemixTabView.
TabViewStyler
TextFieldSpec
Resolved visual properties for a RemixTextField.
TextFieldStyler
TextHeightBehaviorConverter
Converts TextHeightBehavior to TextHeightBehaviorMix.
TextHeightBehaviorMix
Mix representation of TextHeightBehavior.
TextHeightBehaviorRef
Token reference for TextHeightBehavior values
TextScalerRef
Token reference for TextScaler values
TextScope
Provides text styling context to descendant widgets.
TextSpec
Specification for text styling and layout properties.
TextStyleConverter
Converts TextStyle to TextStyleMix.
TextStyleMix
Mix representation of TextStyle.
TextStyleMixRef
Token reference for TextStyleMix that implements Mix interface instead of Flutter interface
TextStyler
TextStyleRef
Token reference for TextStyle values
TextStyleToken
Design token for TextStyle values.
TintColorDirective
Directive that applies tint to a color.
TitleCaseStringDirective
Directive that converts a string to title case.
ToastSpec
Resolved visual values for a RemixToast.
ToastStyler
ToggleGroupItemSpec
Resolved visual properties for an item in a RemixToggleGroup.
ToggleGroupItemStyler
ToggleGroupSpec
Resolved visual properties for a RemixToggleGroup.
ToggleGroupStyler
ToggleSpec
Resolved visual properties for a RemixToggle.
ToggleStyler
TokenSource<V>
A source that references a token.
TooltipSpec
Resolved visual values for a RemixTooltip.
TooltipStyler
TransformModifier
Modifier that applies matrix transformations to its child.
TransformModifierMix
Mix class for applying transform modifications.
TranslateModifier
TranslateModifierMix
ModifierMix for translation transform.
TriangleClipper
UppercaseStringDirective
Directive that converts a string to uppercase.
ValueSource<V>
A source that holds a direct value.
Variant
Base class for all variant types.
VariantStyle<S extends Spec<S>>
Variant wrapper for conditional styling
VisibilityModifier
Modifier that controls the visibility of its child.
VisibilityModifierMix
WebVariant
Context variant that applies when running on the web.
WidgetModifier<Self extends WidgetModifier<Self>>
Unified base class for widget modifiers.
WidgetModifierConfig
Configuration for widget modifiers in the Mix framework.
WidgetStateProvider
Provider for widget state information using Flutter's InheritedModel.
WidgetStateStyleOverride
Overrides widget states used for style resolution below this scope.
WidgetStateVariant
WithBlueColorDirective
Directive that sets the blue channel of a color.
WithGreenColorDirective
Directive that sets the green channel of a color.
WithRedColorDirective
Directive that sets the red channel of a color.
WithValuesColorDirective
Directive that applies withValues to a color.
WrapBox
WrapBox combines Flutter's Container and Wrap with Mix styling.
WrapBoxSpec
Specification that combines box styling and wrap/flow layout properties.
WrapBoxStyler
WrapSpec
Specification for Flutter Wrap layout properties.
WrapStyler

Enums

ElevationShadow
Material Design elevation levels.
ListMergeStrategy
Merge strategy for lists
OverlayAlignment
The cross-axis alignment of an overlay relative to its anchor.
OverlaySide
The preferred side of an anchor on which to place an overlay.
PressableSemanticsRole
The accessibility role exposed by a Pressable.
RemixBoxShadowKind
Whether a painted shadow falls outside a box or into its interior.
RemixCssColorFilterFunction
CSS color-filter functions used by the pinned Radix recipes.
RemixDataTableSortDirection
Direction of a RemixDataTable's single active sort.
RemixPlacement
Directional placement of an element before or after its content.
RemixToastActionPlacement
Where a RemixToast places its action relative to the message.

Mixins

AnimationStyleMixin<T extends Style<S>, S extends Spec<S>>
BorderRadiusStyleMixin<T extends Mix<Object?>>
Mixin that provides convenient border radius styling methods
BorderStyleMixin<T extends Mix<Object?>>
Mixin that provides convenient border styling methods
ConstraintStyleMixin<T extends Mix<Object?>>
Mixin that provides convenient constraint styling methods for styles
DecorationStyleMixin<T extends Mix<Object?>>
Mixin that provides convenient decoration styling methods
DefaultValue<Value>
Mixin for types that have default values.
EnumVariant
Mixin for enums that act as NamedVariants.
Equatable
Mixin that provides standard equality and hash code implementation based on properties.
FlexStyleMixin<T extends Mix<Object?>>
Provides convenient flex layout styling methods for spec attributes.
RemixBoxStylerMixin<T extends Mix<Object?>>
Marks generated Remix stylers that forward a Box-compatible surface.
Resolvable<V>
Mixin for types that can be resolved to a value using a BuildContext.
ShadowStyleMixin<T extends Mix<Object?>>
Mixin that provides convenient shadow styling methods
SpacingStyleMixin<T extends Mix<Object?>>
Mixin that provides convenient spacing styling methods for styles
TextStyleMixin<T extends Mix<Object?>>
Provides convenient text styling methods for spec attributes.
TransformStyleMixin<T extends Mix<Object?>>
Mixin that provides convenient transform styling methods for styles
ValueRef<T>
VariantStyleMixin<T extends Style<S>, S extends Spec<S>>
Mixin that provides convenient variant styling methods for spec attributes.
WidgetModifierStyleMixin<T extends Style<S>, S extends Spec<S>>
Provides convenient widget modifier styling methods for spec attributes.
WidgetStateVariantMixin<T extends Style<S>, S extends Spec<S>>
Mixin that provides widget state variant styling methods for spec attributes.
WrapStyleMixin<T extends Mix<Object?>>
Provides fluent Wrap layout methods to Wrap-backed stylers.

Extension Types

DoubleRef
Token reference for double values that implements the double interface.

Extensions

BoxStylerPressable on BoxStyler
Builds interactive boxes from a BoxStyler.
DirectiveListExt on List<Directive<T>>
Extension on List<Directive<T>> to provide apply functionality
DurationIntExt on int
Extension on int to create Duration objects with convenient syntax.
NumberPropDirectiveExt on Prop<T>
Extension on Prop for number transformations.
RemixAccordionStylerRemixHelpers on AccordionStyler
Style configuration for RemixAccordion trigger, icons, title, and content.
RemixCalloutStylerRemixHelpers on CalloutStyler
Style configuration for RemixCallout layout, icon, and text.
RemixCheckboxStylerRemixHelpers on CheckboxStyler
Style configuration for RemixCheckbox container and indicator icon.
RemixDataListStylerRemixHelpers on DataListStyler
Style helpers for RemixDataList label/value typography.
RemixDataTableStylerRemixHelpers on DataTableStyler
Style helpers for RemixDataTable typography and shared row chrome.
RemixDisclosureStylerRemixHelpers on DisclosureStyler
RemixDividerStylerRemixHelpers on DividerStyler
Style configuration for a RemixDivider container.
RemixProgressStylerRemixHelpers on ProgressStyler
Style builder for RemixProgress.
RemixRadioStylerRemixHelpers on RadioStyler
Style configuration for RemixRadio container and selected indicator.
RemixSelectMenuItemStylerRemixHelpers on SelectMenuItemStyler
Style configuration for an item in a RemixSelect menu.
RemixSliderStylerRemixHelpers on SliderStyler
Style builder for RemixSlider.
RemixSwitchStylerRemixHelpers on SwitchStyler
Style builder for RemixSwitch.
RemixTextFieldStylerRemixHelpers on TextFieldStyler
Style builder for RemixTextField.
RemixToastControllerShow on NakedToastController<RemixToastData>
Shows RemixToastData through a RemixToastController.
SelectedWidgetStateVariantExtension on MixStyler<T, S>
Adds the selected widget-state variant to generated Remix stylers.
StyleSpecWidgetBuilder on StyleSpec<T>
Extension to create widgets from StyleSpec using custom builder functions.
WidgetStateControllerExtension on WidgetStatesController
Extension on WidgetStatesController providing convenient setters and getters for individual widget states.

Constants

danger → const NamedVariant
large → const NamedVariant
outlined → const NamedVariant
primary → const NamedVariant
remixAnchorWidth → const ContextToken<double>
The width of the trigger of the surrounding RemixSelect or RemixMenu, and 0 anywhere else. A submenu panel gets the width of the root menu's trigger.
secondary → const NamedVariant
small → const NamedVariant
solid → const NamedVariant

Properties

defaultModifier → Map<Type, Object>
Neutral (identity) values used as the interpolation anchor when a modifier type is present on only one side of a ModifierListTween.
final

Functions

areMixConvertersInitialized() → bool
Checks whether the built-in converters have been registered.
assertIsRealType(Type value) → void
Asserts that the given type is not a token reference type.
createMaterialMixScope({Map<MixToken, Object>? additionalTokens, List<Type>? orderOfModifiers, required Widget child, Key? key}) → Widget
Creates a MixScope with Material Design tokens pre-configured.
getReferenceValue<T>(MixToken<T> token) → T
Creates the appropriate token reference for the given token.
hasAllVariants(List<NamedVariant> activeVariants, List<NamedVariant> variants) → bool
hasAnyVariant(List<NamedVariant> activeVariants, List<NamedVariant> variants) → bool
hasVariant(List<NamedVariant> activeVariants, NamedVariant variant) → bool
initializeMixConverters() → void
Registers all built-in converters for Flutter types.
isAnyTokenRef(Object? value) → bool
Returns true if the value is a token reference.
propsDiff(List<Object?> thisProps, List<Object?> otherProps) → Map<String, String>
Per-index structural diff between two prop lists. Backs the generated getDiff override emitted by mix_generator. Test-only semantics — Equatable.getDiff is @visibleForTesting.
propsEquals(List<Object?> a, List<Object?> b) → bool
Deep equality for prop lists. Public so generated spec mixins can inline == without mixing in Equatable. Mirrors the semantics used by Equatable.==.
propsHash(Type runtimeType, List<Object?> props) → int
Deep hash for prop lists, combined with runtimeType. Paired with propsEquals so generated == and hashCode stay consistent.
provideCursorPosition({Key? key, required PointerPositionNotifier notifier, required Widget child}) → Widget
Helper function to create a cursor position provider.
remixDefaultDataTablePageRangeFormatter({required int start, required int end, required int total}) → String
Default English page-range summary, e.g. 1–10 of 42.
showRemixAlertDialog<T>({required BuildContext context, required WidgetBuilder builder, required String semanticLabel, Color? barrierColor, String? barrierLabel, bool barrierDismissible = false, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, Duration transitionDuration = const Duration(milliseconds: 400), RouteTransitionsBuilder? transitionBuilder, FocusNode? initialFocusNode}) → Future<T?>
Shows an urgent modal alert dialog with Remix styling support.
showRemixDialog<T>({required BuildContext context, required WidgetBuilder builder, Color? barrierColor, bool barrierDismissible = true, String? barrierLabel, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, Duration transitionDuration = const Duration(milliseconds: 400), RouteTransitionsBuilder? transitionBuilder, bool requestFocus = true, TraversalEdgeBehavior? traversalEdgeBehavior}) → Future<T?>
Shows a customizable dialog.
showRemixToast(BuildContext context, RemixToastData toast) → RemixToastHandle
Shows toast in the nearest RemixToastScope.
tokenFromReferenceValue<T>(Object? value) → MixToken<T>?
Returns the token carried by a supported token reference value, if any.

Typedefs

DefaultStyledIcon = StyleProvider<IconSpec>
Provides IconStyler to descendant StyledIcon widgets.
DefaultStyledText = StyleProvider<TextSpec>
Provides TextStyler to descendant StyledText.
KeyframeStyleBuilder<T extends Spec<T>, U extends Style<T>> = U Function(KeyframeAnimationResult result, U style)
NakedAccordionTriggerBuilder<T> = Widget Function(BuildContext context, NakedAccordionItemState<T> state)
Builds an accordion trigger from its current item state.
NakedDisclosureTransitionBuilder = Widget Function(BuildContext context, Animation<double> animation, Widget child)
Builds a transition around a disclosure panel.
NakedSliderSemanticFormatterCallback = String Function(double value)
Formats one slider thumb's value for assistive technologies.
RemixAccordionController<T> = NakedAccordionController<T>
RemixAccordionSpec = AccordionSpec
Backward-compatible name for AccordionSpec.
RemixAccordionStyler = AccordionStyler
Use AccordionStyler instead.
RemixAvatarIconBuilder = Widget Function(BuildContext context, IconSpec spec, IconData? icon)
Builder for rendering avatar icon content with the resolved icon spec.
RemixAvatarLabelBuilder = Widget Function(BuildContext context, TextSpec spec, String label)
Builder for rendering avatar label content with the resolved text spec.
RemixAvatarSpec = AvatarSpec
Backward-compatible name for AvatarSpec.
RemixAvatarStyler = AvatarStyler
Use AvatarStyler instead.
RemixBadgeLabelBuilder = Widget Function(BuildContext context, TextSpec spec, String label)
Builds badge label content with its resolved text style.
RemixBadgeSpec = BadgeSpec
Backward-compatible name for BadgeSpec.
RemixBadgeStyler = BadgeStyler
Use BadgeStyler instead.
RemixButtonIconBuilder = Widget Function(BuildContext context, IconSpec spec, IconData? icon)
Builder function for customizing button icon rendering (leading or trailing).
RemixButtonLoadingBuilder = Widget Function(BuildContext context, SpinnerSpec spec)
Builder function for customizing button loading state rendering.
RemixButtonSpec = ButtonSpec
Backward-compatible name for ButtonSpec.
RemixButtonStyler = ButtonStyler
Use ButtonStyler instead.
RemixButtonTextBuilder = Widget Function(BuildContext context, TextSpec spec, String text)
Builder function for customizing button text rendering.
RemixCalloutSpec = CalloutSpec
Backward-compatible name for CalloutSpec.
RemixCalloutStyler = CalloutStyler
Use CalloutStyler instead.
RemixCardSpec = CardSpec
Backward-compatible name for CardSpec.
RemixCardStyler = CardStyler
Use CardStyler instead.
RemixCheckboxSpec = CheckboxSpec
Backward-compatible name for CheckboxSpec.
RemixCheckboxStyler = CheckboxStyler
Use CheckboxStyler instead.
RemixDataTablePageRangeFormatter = String Function({required int end, required int start, required int total})
Formats the footer's visible page range.
RemixDialogSpec = DialogSpec
Backward-compatible name for DialogSpec.
RemixDialogStyler = DialogStyler
Use DialogStyler instead.
RemixDividerSpec = DividerSpec
Backward-compatible name for DividerSpec.
RemixDividerStyler = DividerStyler
Use DividerStyler instead.
RemixIconButtonIconBuilder = Widget Function(BuildContext context, IconSpec spec, IconData? icon)
Builds icon data with the resolved icon style.
RemixIconButtonLoadingBuilder = Widget Function(BuildContext context, SpinnerSpec spec)
Builder for the loading indicator rendered by RemixIconButton.
RemixIconButtonSpec = IconButtonSpec
Backward-compatible name for IconButtonSpec.
RemixIconButtonStyler = IconButtonStyler
Use IconButtonStyler instead.
RemixMenuControlBuilder = Widget Function(BuildContext context, RemixMenuTriggerHandle menu)
Builds the control of a RemixMenuTrigger.control trigger.
RemixMenuItemSpec = MenuItemSpec
Backward-compatible name for MenuItemSpec.
RemixMenuItemStyler = MenuItemStyler
Use MenuItemStyler instead.
RemixMenuSpec = MenuSpec
Backward-compatible name for MenuSpec.
RemixMenuStyler = MenuStyler
Use MenuStyler instead.
RemixMenuTriggerSpec = MenuTriggerSpec
Backward-compatible name for MenuTriggerSpec.
RemixMenuTriggerStyler = MenuTriggerStyler
Use MenuTriggerStyler instead.
RemixPopoverSpec = PopoverSpec
Backward-compatible name for PopoverSpec.
RemixPopoverStyler = PopoverStyler
Use PopoverStyler instead.
RemixProgressSpec = ProgressSpec
Backward-compatible name for ProgressSpec.
RemixProgressStyler = ProgressStyler
Use ProgressStyler instead.
RemixRadioSpec = RadioSpec
Backward-compatible name for RadioSpec.
RemixRadioStyler = RadioStyler
Use RadioStyler instead.
RemixSelectContentSpec = SelectContentSpec
Backward-compatible name for SelectContentSpec.
RemixSelectContentStyler = SelectContentStyler
Use SelectContentStyler instead.
RemixSelectMenuItemSpec = SelectMenuItemSpec
Backward-compatible name for SelectMenuItemSpec.
RemixSelectMenuItemStyler = SelectMenuItemStyler
Use SelectMenuItemStyler instead.
RemixSelectSpec = SelectSpec
Backward-compatible name for SelectSpec.
RemixSelectStyler = SelectStyler
Use SelectStyler instead.
RemixSelectTriggerSpec = SelectTriggerSpec
Backward-compatible name for SelectTriggerSpec.
RemixSelectTriggerStyler = SelectTriggerStyler
Use SelectTriggerStyler instead.
RemixSliderSpec = SliderSpec
Backward-compatible name for SliderSpec.
RemixSliderStyler = SliderStyler
Use SliderStyler instead.
RemixSpinnerSpec = SpinnerSpec
Backward-compatible name for SpinnerSpec.
RemixSpinnerStyler = SpinnerStyler
Use SpinnerStyler instead.
RemixSwitchSpec = SwitchSpec
Backward-compatible name for SwitchSpec.
RemixSwitchStyler = SwitchStyler
Use SwitchStyler instead.
RemixTabBarSpec = TabBarSpec
Backward-compatible name for TabBarSpec.
RemixTabBarStyler = TabBarStyler
Use TabBarStyler instead.
RemixTabSpec = TabSpec
Backward-compatible name for TabSpec.
RemixTabStyler = TabStyler
Use TabStyler instead.
RemixTabViewSpec = TabViewSpec
Backward-compatible name for TabViewSpec.
RemixTabViewStyler = TabViewStyler
Use TabViewStyler instead.
RemixTextFieldSpec = TextFieldSpec
Backward-compatible name for TextFieldSpec.
RemixTextFieldStyler = TextFieldStyler
Use TextFieldStyler instead.
RemixToastController = NakedToastController<RemixToastData>
Drives a RemixToastScope. Show toasts with RemixToastControllerShow.showToast.
RemixToastDismissReason = NakedToastDismissReason
Why a toast was dismissed.
RemixToastHandle = NakedToastHandle
A reference to one shown toast, with its closed future.
RemixToastPlacement = NakedToastPlacement
Where a RemixToastScope stacks toasts; start and end follow Directionality.
RemixToastPriority = NakedToastPriority
Whether a toast is announced as a status (polite) or an alert (assertive).
RemixToggleGroupItemSpec = ToggleGroupItemSpec
Backward-compatible name for ToggleGroupItemSpec.
RemixToggleGroupItemStyler = ToggleGroupItemStyler
Use ToggleGroupItemStyler instead.
RemixToggleGroupSpec = ToggleGroupSpec
Backward-compatible name for ToggleGroupSpec.
RemixToggleGroupStyler = ToggleGroupStyler
Use ToggleGroupStyler instead.
RemixToggleSpec = ToggleSpec
Backward-compatible name for ToggleSpec.
RemixToggleStyler = ToggleStyler
Use ToggleStyler instead.
RemixTooltipSpec = TooltipSpec
Backward-compatible name for TooltipSpec.
RemixTooltipStyler = TooltipStyler
Use TooltipStyler instead.
SidebarDestinationStyler = ToggleStyler
Per-destination style for a RemixSidebarDestination.
TweenBuilder<T> = Tween<T> Function({T? begin, T? end})