v2.2.0account_picker
追加の権限を必要とせずに、デバイスに保存された電子メールまたは電話番号を選択するようにユーザーに促す
29いいね 43930日間ダウンロード160Pub ポイント
Android
追加の権限を必要とせずに、デバイスに保存された電子メールまたは電話番号を選択するようにユーザーに促す
{"sdk":"flutter"}^2.0.2{"sdk":"flutter"}^3.0.0以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
This Flutter plugin prompt suser to pick an Email or a Phone number saved on device without requiring extra permission It is a lightweight plugin that does not require extra permssion. This plugin does not require any special device permission.
It uses AccountPicker API.
This currently works for Android only.
Demo App
final String phone = await AccountPicker.phoneHint();
setState(() {
_phoneNumber = phone;
});
final EmailResult emailResult = await AccountPicker.emailHint();
print(emailResult);
setState(() {
_email = emailResult.email;
_accountType = emailResult.type;
});
Accepting PR for: