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 ↗