release_to_trigger 0.0.3 release_to_trigger: ^0.0.3 copied to clipboard
A highly customizable Flutter package that triggers an action when the user pulls down from the top or pulls up from the bottom of the screen and releases it. Similar to Instagram's 'Swipe Up' functio [...]
0.0.3 #
- Example added: For better understanding example code added.
- Customize text: Now customize initial and release text style.
- circular progress indicator: show or hide circular progress indicator.
0.0.2 #
- Add License: MIT license added.
- Improve sensitivity of pull: for better user experience pull sensitivity is improved.
0.0.1 - Initial Release #
- Release to Trigger Action: A Flutter widget designed to capture vertical swipe gestures and trigger a custom action when the user releases the swipe at a defined height. Ideal for refreshing content, loading actions, or any custom user interaction.
- Configurable Sensitivity: Customize the height sensitivity for detecting a swipe (both at the top or bottom of the screen), allowing you to control how much the user must pull before the action is triggered.
- Top and Bottom Swipes: Control whether the gesture triggers from the top or bottom of the screen using the
top
parameter. - Swipe Progress Indicator: A circular progress indicator shows swipe progress in real-time, dynamically adjusting based on the distance the user has pulled.
- Customizable Design: Parameters for customizing colors, background, and text (e.g.,
initialText
andtriggeredText
) for a personalized look and feel. - Callback on Trigger: Execute any custom functionality by providing a callback via the
onTrigger
parameter, allowing developers to integrate custom actions seamlessly.