v0.0.14
palestine_first_run
Lightweight and easy check if the app runs for its first time, apply that to custom calls.
31Likes 5730-day downloads150Pub points
AndroidiOSWebmacOSWindowsLinux
Lightweight and easy check if the app runs for its first time, apply that to custom calls.
English project snapshot. Visit GitHub for the latest content.
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');
Dependency list 4 items
{"sdk":"flutter"}^2.0.7^1.5.2^1.20.1Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗