morphing_button 0.1.3
morphing_button: ^0.1.3 copied to clipboard
A Flutter package providing morphing button widgets with smooth directional arrow animations that respond to cursor position.
0.1.3 #
- Fix label truncation when branding is present (use
Expandedinstead ofFlexible+Spacer) - Fix playground label text field losing input on each keystroke (persistent
TextEditingController)
0.1.2 #
- Add
showModeIconparameter to ModeToggleButton (defaulttrue) - Set
showModeIcon: falseto hide the hamburger/morph icon when branding is sufficient - Add "Show Mode Icon" toggle to playground example
0.1.1 #
- Add
Widget? iconparameter to ModeToggleButton for custom branding - Branding layout: icon + label on the left, hamburger on the right
- CollapsedLeft shows centered icon or circled monogram fallback
- Smooth cross-fade between expanded content and collapsed branding
- Add ModeToggleButton section to README
- Add interactive icon picker to playground example
0.1.0 #
- Initial release
- 4 button variants: GlassPillButton, OutlineFillButton, SoftShadowButton, UnderlineMinimalButton
- Cursor-aware arrow morphing with smooth animation
- Touch/drag support for mobile
- Configurable parameters: fontSize, letterSpacing, padding, arrowSize, arrowStrokeWidth
- Variant-specific parameters: borderRadius, borderWidth, fillOpacity, shadowBlur, elevation, underlineHeight
- Interactive playground example app with live controls