pop_back_handler 1.0.1
pop_back_handler: ^1.0.1 copied to clipboard
A Flutter widget that provides unified handling for back navigation events, integrating PopScope with iOS swipe-back gesture detection.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pop_back_handlerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pop_back_handler: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pop_back_handler/pop_back_handler.dart';