palestine_first_run

Last updated:

0 purchases

palestine_first_run Image
palestine_first_run Images
Add to Cart

Description:

palestine first run

palestine_first_run #
Part of PalestineDevelopers #
Lightweight and easy check if the app runs for its first time, apply that to custom calls.









Table Of Contents #

Features
Getting started
Usage


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';
copied to clipboard

Usage #
Ensure flutter framework is active

Add this to the beginning of main()

// Make Sure Framework Is Ready
WidgetsFlutterBinding.ensureInitialized();
copied to clipboard
Just as easy as this
// First time (true), then (false)
final bool isFirstRun = await PalFirstRun.isFirstRun();
copied to clipboard
And for the custom calls
// First time (true), then (false)
final bool isFirstAPICall = await PalFirstRun.isFirstRun('call_api');
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.