components library

Components: surfaces, state layers, loading indicators, animated icons, button groups, split buttons, floating toolbar, carousel, dialogs, bottom sheets, snackbars, search bar, expressive icons, wavy progress, and ExpressiveComponentThemes for styling standard Material widgets.

Classes

ExpressiveActionChip
An expressive action chip — pill/stadium shaped with icon + label.
ExpressiveActionChipList
A vertical list of action chips (like the reference "Select / Add photos / Share album / Search" layout).
ExpressiveAlertDialog
An expressive AlertDialog with shaped container.
ExpressiveAnimatedIcon
An icon that animates between two states using AnimatedIconData.
ExpressiveBouncingIcon
An icon that bounces when toggled.
ExpressiveButtonGroup
M3 Expressive connected button group.
ExpressiveButtonGroupItem
ExpressiveCarousel
An expressive horizontal carousel with a weighted Material 3 layout, custom spring-based snap physics, auto-play, infinite looping, interactive indicators, and tap-to-focus on peek cards.
ExpressiveComponentThemes
M3 Expressive styles for standard Material components, applied through ThemeData rather than wrapper widgets.
ExpressiveContainedLoadingIndicator
A contained/partitioned loading indicator (M3 Expressive).
ExpressiveFab
An expressive floating action button with:
ExpressiveFloatingToolbar
A floating toolbar with circular icon buttons in a pill container.
ExpressiveFloatingToolbarItem
An item in an ExpressiveFloatingToolbar.
ExpressiveHoverIcon
Hover scale icon (desktop).
ExpressiveIcon
An icon wrapped in a shaped, colored container (M3 Expressive style).
ExpressiveIconTheme
Deprecated: use ExpressiveComponentThemes.iconTheme.
ExpressiveInputThemes
Deprecated: merged into ExpressiveComponentThemes.
ExpressiveMorphingIcon
Cross-fade morph between two icons.
ExpressiveMorphingShapeIndicator
Morphing shape loading indicator.
ExpressiveNavBarTheme
Deprecated: use ExpressiveComponentThemes.navigationBarTheme.
ExpressiveOrganicLoadingIndicator
Organic blob loading indicator.
ExpressivePageScrollPhysics
An expressive page scroll physics that overrides snapping spring physics.
ExpressivePulsingDotsIndicator
Pulsing dots loading indicator.
ExpressiveRotatingIcon
An icon that rotates when toggled.
ExpressiveSearchBar
An expressive search bar that morphs from collapsed to expanded with spring.
ExpressiveSelectionIcon
Selection icon with elastic animation.
ExpressiveSplitButton
M3 Expressive split button.
ExpressiveStateLayer
Adds expressive press-to-scale behavior to any widget.
ExpressiveStateMorphContainer
A widget that wraps a child with shape-morphing on state change.
ExpressiveSurface
A semantic surface widget.
ExpressiveWavyCircularProgressIndicator
A wavy circular progress indicator (M3 Expressive style).
ExpressiveWavyLinearProgressIndicator
A wavy/sinusoidal linear progress indicator (M3 Expressive style).

Enums

ExpressiveFabSize
Size variants for the M3 Expressive FAB.
ExpressiveIconSize
Size variants for expressive icons.
ExpressiveSurfaceType
Semantic surface types.

Functions

showExpressiveBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, bool isDismissible = true, bool enableDrag = true, Color? backgroundColor, double? elevation, ShapeBorder? shape, double initialChildSize = 0.5, double maxChildSize = 0.9, double minChildSize = 0.25, bool snap = true, List<double>? snapSizes}) → Future<T?>
Shows an expressive bottom sheet with spring-based drag physics.
showExpressiveDialog<T>({required BuildContext context, required WidgetBuilder builder, bool barrierDismissible = true, Color? barrierColor, Duration transitionDuration = const Duration(milliseconds: 350), Curve curve = Curves.easeOut}) → Future<T?>
Shows an expressive dialog with scale+fade entry animation.
showExpressiveSnackBar(BuildContext context, {required String message, IconData? icon, String? actionLabel, VoidCallback? onAction, Duration duration = const Duration(seconds: 4), double? borderRadius, Color? backgroundColor, Color? textColor}) → void
Shows an expressive snackbar with icon, shape, and spring dismiss.