slideable_pop_scope 1.0.5 copy "slideable_pop_scope: ^1.0.5" to clipboard
slideable_pop_scope: ^1.0.5 copied to clipboard

Popscope that easy to used and adapted to iOS slide to go back gesture

slideable_pop_scope #

Pub Coverage Status

Flutter Logo which can be rendered by this package!

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';
Using SlideablePopScope:
// my_screen.dart
@override
Widget build(BuildContext context) {
  return SlideablePopScope(
    child: _MyScreenContent(),
    onWillPop: _onWillPop,
  );
}
1
likes
155
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

Popscope that easy to used and adapted to iOS slide to go back gesture

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on slideable_pop_scope