0 purchases
slideable pop scope
slideable_pop_scope #
Popscope that easy to used and adapted to iOS slide to go back gesture
Note: When using Flutter's official PopScope, the iOS slide to go back feature becomes ineffective. SlideablePopScope was introduced to solve this issue.
Usage #
To use this package, add slideable_pop_scope as a dependency in your pubspec.yaml file.
Examples #
Import the library #
// main.dart
import 'package:slideable_pop_scope/slideable_pop_scope.dart';
copied to clipboard
Using SlideablePopScope:
// my_screen.dart
@override
Widget build(BuildContext context) {
return SlideablePopScope(
child: _MyScreenContent(),
onWillPop: _onWillPop,
);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.