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

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
40
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on app_background_utils