liquid_segmented_bar 0.2.0
liquid_segmented_bar: ^0.2.0 copied to clipboard
An iOS "liquid glass" style segmented control for Flutter: a frosted glass capsule with an animated glass bubble that slides to the selected segment.
0.2.0 #
- Light background support. New optional parameters (all default to the
previous look, so existing code is unchanged):
backgroundColor,borderColor,borderRadius,shadowsfor the capsule.bubbleColor,bubbleShadowsfor a solid (e.g. white) selection bubble.selectedForegroundColor,unselectedForegroundColorfor label colors.
- The bubble radius now follows
borderRadius(inset by 4). blurSigma: 0skips the backdrop filter entirely (cheaper on solid backgrounds).- Docs: README badges (pub, CI, coverage, style, license) and a "Light backgrounds" section.
- CI: GitHub Actions workflow with analyze, tests and Codecov coverage.
0.1.1 #
- Docs: use an absolute URL for the README example GIF so it renders on pub.dev.
0.1.0 #
- Initial release:
LiquidSegmentedBar,LiquidSegment,LiquidLabelBehavior. - Configurable icon/image size and label font sizes.
- Auto height from content, clamped by
minHeight/maxHeight. - Overflow safe: labels ellipsize, content scales down when space is tight.
- Label modes:
always,selectedOnly,never. - Visuals:
icon,asset(path or URL),visual,visualBuilder. - No SVG dependency: plug in
flutter_svgviaassetBuilderor the app-wideLiquidSegmentedBar.defaultAssetBuilder.
