call_slider_button
3.0.1, released 5 weeks ago by an unverified publisher
A customizable incoming‑call slider widget for Flutter with swipe‑to‑accept/decline actions.
What it does
The widget displays a horizontal track with a draggable call button. Swiping right triggers an accept callback, swiping left triggers a decline callback, with smooth animations and haptic feedback. It also provides screen‑reader actions for accessibility.
AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a simple, touch‑based UI for answering or rejecting incoming calls
- You want a fully customizable slider that works on all Flutter platforms
- You require built‑in accessibility support without extra code
Skip it when
- You need full telephony integration or call signaling logic
- You prefer a non‑slider UI such as buttons or dialogs
- You cannot add the material_ui dependency
Strengths
- Highly customizable appearance and behavior
- Built‑in haptic feedback and smooth animations
- Screen‑reader support for accessibility
- Pure Dart, works on Android, iOS, web, desktop
Weaknesses
- Requires the separate material_ui package
- Limited to a single slider use‑case
- No built‑in call handling or signaling
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add call_slider_button (and its peer material_ui) to pubspec, ensure Flutter >=3.47, then import and use the widget.
import 'package:call_slider_button/call_slider_button.dart';
CallSliderButton(
onAccept: () => debugPrint('Call accepted'),
onDecline: () => debugPrint('Call declined'),
);Alternatives
Packages that do the same job and could replace call_slider_button.
- flip_card_swiper
Swipeable card stack widget with flip animations and optional haptics.
76Compare - splashscreen
A customizable, theme‑aware splash screen widget with timer or future navigation and entrance animations.
87Compare - rubber
Elastic bottom sheet widget with customizable spring animation.
77Compare - flutter_chen_refresh
A Flutter refresh library for pull-down refresh and pull-up load with customizable indicators.
54Compare
Works with
Packages commonly used together with call_slider_button: ones it builds on, ones built on it, and its own family.