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 ↗