v0.0.14
palestine_first_run
アプリが初めて実行されているかどうかを軽量かつ簡単に確認し、カスタム呼び出しに適用します。
31いいね 5730日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
アプリが初めて実行されているかどうかを軽量かつ簡単に確認し、カスタム呼び出しに適用します。
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Lightweight and easy check if the app runs for its first time, apply that to custom calls.
To start, import package
import 'package:palestine_first_run/palestine_first_run.dart';
Ensure flutter framework is active
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');
依存関係一覧 4 件
{"sdk":"flutter"}^2.0.7^1.5.2^1.20.1用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗