call_slider_button 2.0.0
call_slider_button: ^2.0.0 copied to clipboard
A beautiful, fully customizable Flutter widget that mimics an incoming call slider — swipe right to accept, swipe left to decline. Features smooth animations, haptic feedback, and extensive customizat [...]
2.0.0 - 2026-04-23 #
Added #
widthparameter — set a fixed slider width instead of the default 80 % screen width.dragThresholdparameter — configure the minimum drag distance to trigger accept/decline.- 100 % dartdoc coverage on all public API members.
- Comprehensive widget tests.
- Stricter analysis with
flutter_lintsand additional lint rules.
Changed #
- Minimum SDK constraint raised to Dart between
>=3.0.0 <4.0.0/ Flutter>=3.41.0. - Switched from
package:lintstopackage:flutter_lints. - Haptic feedback is now triggered in the drag handler instead of inside
build(). - Removed no-op
AnimatedOpacitywrappers that were using a hardcodedopacity: 1.0. - Extracted magic numbers into named constants for better readability.
- Refactored widget internals into clean helper methods.
- Improved README with proper markdown formatting, badges, and up-to-date parameter table.
Fixed #
- Animation listener leak — listeners are now properly removed after the reset animation completes.
MediaQuery.of(context).sizereplaced withMediaQuery.sizeOf(context)for better rebuild performance.
1.1.0 - 2025-07-01 #
1.0.0 - 2025-06-15 #
- Initial release.
CallSliderButtonwidget with full customization.