app_background_utils 1.0.0
app_background_utils: ^1.0.0 copied to clipboard

Flutter Android iOS

Press the return button on an Android phone, the app runs in the background

app_background_utils #

Press the return button on an Android phone, the app runs in the background

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.


Usage

RaisedButton.icon(
          onPressed: () {
            AppBackgroundUtils.navigateToSystemHome(); //返回到系统首页
          },
          icon: Icon(Icons.app_registration),
          label: Text('Hide to background'),
        )
1
likes
90
pub points
0%
popularity

Press the return button on an Android phone, the app runs in the background

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

xotoot@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on app_background_utils