move_task_to 0.0.2 copy "move_task_to: ^0.0.2" to clipboard
move_task_to: ^0.0.2 copied to clipboard

PlatformAndroidiOS
outdated

A New Flutter Plugin.

move_task_to #

A flutter plugin to prevent APP destruction caused by return button.

How to use #

With a placeholder:

@override
Widget build(BuildContext context) {
  return MaterialApp(
    home: WillPopScope(
        child: Scaffold(
          appBar: AppBar(
            title: const Text('Plugin example app'),
          ),
          body: SizedBox(
              width: double.infinity,
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: [Text('Running on: $_platformVersion\n')],
              )),
        ),
        onWillPop: () async {
          MoveTaskTo.moveTaskToBack();
          return false;
        }),
  );
}
1
likes
140
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A New Flutter Plugin.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on move_task_to

Packages that implement move_task_to