Skip to content

Commit

Permalink
Merge branch 'feat-add-native-auth-support' of https://github.com/Fat…
Browse files Browse the repository at this point in the history
…umaA/flutter-auth-ui into feat-add-native-auth-support
  • Loading branch information
FatumaA committed Jan 22, 2024
2 parents 092cc2a + 79cd120 commit 5aa390e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/components/supa_socials_auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ enum SocialButtonVariant {
class NativeGoogleAuthConfig {
/// Web Client ID and iOS Client ID that you registered with Google Cloud.
/// Needed for Sign in with Google
String webClientId;
String iosClientId;
final String webClientId;
final String iosClientId;

NativeGoogleAuthConfig(
{required this.webClientId, required this.iosClientId});
Expand All @@ -78,7 +78,7 @@ class SupaSocialsAuth extends StatefulWidget {
final NativeGoogleAuthConfig? nativeGoogleAuthConfig;

/// Defines apple provider
final bool? enableNativeAppleAuth;
final bool enableNativeAppleAuth;

/// List of social providers to show in the form
final List<OAuthProvider> socialProviders;
Expand Down Expand Up @@ -108,7 +108,7 @@ class SupaSocialsAuth extends StatefulWidget {
const SupaSocialsAuth({
Key? key,
this.nativeGoogleAuthConfig,
this.enableNativeAppleAuth,
this.enableNativeAppleAuth = true,
required this.socialProviders,
this.colored = true,
this.redirectUrl,
Expand Down

0 comments on commit 5aa390e

Please sign in to comment.