onwillpop_yes_no 0.0.9
onwillpop_yes_no: ^0.0.9 copied to clipboard
For Flutter WillPopScope Widget in onWillPop
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add onwillpop_yes_noThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
onwillpop_yes_no: ^0.0.9Alternatively, 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:onwillpop_yes_no/onwillpop_yes_no.dart';