flex_switch 1.0.0
flex_switch: ^1.0.0 copied to clipboard
A multi-option segmented control for Flutter. Keyboard accessible, RTL-aware, drag-to-select, themable, and fast.
Changelog #
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-09-15 #
Initial release.
Added #
- Core
FlexSwitch
widget with:- Boolean factory:
FlexSwitch.boolean
- Enum factory:
FlexSwitch.fromEnum
- Values factory:
FlexSwitch.fromValues
- Boolean factory:
- Drag-to-select across segments
- Full keyboard support (Left/Right, Home/End, Enter/Space), RTL-aware
- A11y with Semantics + focus ring
- Theming via
FlexSwitchStyle
(colors, radii, dividers, ripple, animation) - Example app under
example/