double_back_to_home 1.0.0 copy "double_back_to_home: ^1.0.0" to clipboard
double_back_to_home: ^1.0.0 copied to clipboard

PlatformAndroid

A Flutter widget that sends Android apps to the home screen after a double back press while preserving native iOS navigation.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add double_back_to_home

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  double_back_to_home: ^1.0.0

Alternatively, 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:double_back_to_home/double_back_to_home.dart';
0
likes
160
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that sends Android apps to the home screen after a double back press while preserving native iOS navigation.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

android_intent_plus, flutter

More

Packages that depend on double_back_to_home