liquid_segmented_bar library

iOS "liquid glass" style segmented control for Flutter.

Classes

LiquidSegment<T>
A single option inside a LiquidSegmentedBar.
LiquidSegmentedBar<T>
iOS "liquid glass" style segmented control: a blurred glass capsule with a glass bubble that slides to the selected item. All segments share the same width, so it works best with 2–6 options.
LiquidVisualState
Information passed to custom visual builders so they can react to the segment state (e.g. tint an SVG with color when selected).

Enums

LiquidLabelBehavior
Controls when segment labels are shown.

Typedefs

LiquidAssetBuilder = Widget Function(BuildContext context, String source, LiquidVisualState state)
Builds a widget for a LiquidSegment.asset value (asset path or URL).
LiquidVisualBuilder = Widget Function(BuildContext context, LiquidVisualState state)
Builds a fully custom visual for a single segment.