swipe_back_detector 2.0.0 copy "swipe_back_detector: ^2.0.0" to clipboard
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
14
likes
160
pub points
77%
popularity

Publisher

verified publishermagicleon94.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