パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリPalestineDevelopers/first_run

初回実行

アプリが初めて実行されているかどうかを軽量かつ簡単に確認し、カスタム呼び出しに適用します。

初回実行 のプロジェクト画像
スター
5
フォーク
0
最終プッシュ(UTC)
2022/02/08
プロジェクト状態
公開中

元の README

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

palestine_first_run

Part of PalestineDevelopers

Lightweight and easy check if the app runs for its first time, apply that to custom calls.

License Pub Example

PUB GitHub release GitHub stars GitHub forks

Build Status


Table Of Contents


Features

  • Check app is @ first run
  • Check custom actions is @ first call

Getting started

To start, import package

import 'package:palestine_first_run/palestine_first_run.dart';

Usage

Ensure flutter framework is active

  • Add this to the beginning of main()
// Make Sure Framework Is Ready
WidgetsFlutterBinding.ensureInitialized();

Just as easy as this

// First time (true), then (false)
final bool isFirstRun = await PalFirstRun.isFirstRun();

And for the custom calls

// First time (true), then (false)
final bool isFirstAPICall = await PalFirstRun.isFirstRun('call_api');

Contributors

Contributors

Palestine Developers GitHub avatar
GitHub 作者

Palestine Developers ↗

An initiative to revive the name of Palestine

言語HTMLDartRubySwiftKotlinObjective-C

カテゴリー

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 4 件

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

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

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

情報源と管理

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

GitHub Docs — About repositories ↗