startPhoneVerification function
Future<void>
startPhoneVerification({
- required BuildContext context,
- AuthAction? action,
- FirebaseAuth? auth,
Implementation
Future<void> startPhoneVerification({
required BuildContext context,
AuthAction? action,
FirebaseAuth? auth,
}) async {
await Navigator.of(context).push(
createPageRoute(
context: context,
builder: (_) => FlutterFireUIActions.inherit(
from: context,
child: PhoneInputScreen(action: action),
),
),
);
}