swipe_back_detector 2.0.0
swipe_back_detector: ^2.0.0 copied to clipboard

A detector to add "swipe to go back" functionality in custom routes or non Cupertino routes.

swipe_back_detector #

A detector to add "swipe to go back" functionality in custom routes or non cupertino routes.

Attributes #

  • child: is the child to wrap with the pop gesture detector
  • cutoffVelocity: is the minimum velocity needed for the gesture to trigger
  • swipeAreaWidth: is the width of the detection area
  • verticalPadding: allows to restrict the detection area remaining vertically centered
  • popValue: is the value you want to pop out when performing a gesture

Todos: #

  • [ ] Add RTL support
5
likes
130
pub points
76%
popularity

Publisher

magicleon94.dev

A detector to add "swipe to go back" functionality in custom routes or non Cupertino routes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on swipe_back_detector