Skip to content

Commit 7692769

Browse files
committed
Reamde update
1 parent 139d3b2 commit 7692769

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ Also there is a standalone version of the `OidcSignInButton`
9999

100100
<!-- embedme readme/usage_3.dart -->
101101
```dart
102-
import 'package:firebase_auth/firebase_auth.dart';
103102
import 'package:firebase_ui_oauth_oidc/firebase_ui_oauth_oidc.dart';
104103
import 'package:flutter/material.dart';
105104
@@ -114,7 +113,7 @@ class MyScreen extends StatelessWidget {
114113
providerId: 'oidc.example',
115114
style: const ExampleButtonStyle(),
116115
loadingIndicator: const CircularProgressIndicator(),
117-
onSignedIn: (UserCredential credential) {
116+
onSignedIn: (credential) {
118117
// perform navigation.
119118
},
120119
);

0 commit comments

Comments
 (0)