カテゴリー・パッケージ・リポジトリを検索

GitHub リポジトリExtraSettings/move_to_background

バックグラウンドに移動

アプリケーションをバックグラウンドに送信するための Flutter プラグイン

バックグラウンドに移動 のプロジェクト画像
スター
28
フォーク
84
最終プッシュ(UTC)
2024/02/07
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

move_to_background

Flutter plugin for sending mobile applications to background. Supports iOS and Android.

Getting Started

Install it (pubspec.yaml)
move_to_background: <latest>
Import it
import 'package:move_to_background/move_to_background.dart';
Use it
MoveToBackground.moveTaskToBack();

Useful Scenario

Use with WillPopScope to send your application to the background when the user attempts to exit the app.

WillPopScope(
  child: MaterialApp(...),
  onWillPop: () async {
    MoveToBackground.moveTaskToBack();
    return false;
  },
);

Note about using it for iOS

Quitting your application or sending it to the background programmatically is a violation of the iOS Human Interface Guidelines, which usually doesn't bode well for getting through the review process. Keep that in mind.

ExtraSettings GitHub avatar
GitHub 作者

ExtraSettings ↗

言語JavaRubyDartObjective-C

カテゴリー

使用している依存関係

依存関係一覧 2 件

  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗