LinkedInAuthCodeWidget constructor

const LinkedInAuthCodeWidget({
  1. required ValueChanged<AuthorizationSucceededAction>? onGetAuthCode,
  2. required String? redirectUrl,
  3. required String? clientId,
  4. required ValueChanged<AuthorizationFailedAction> onError,
  5. bool destroySession = false,
  6. String? frontendRedirectUrl,
  7. AppBar? appBar,
  8. bool useVirtualDisplay = false,
  9. List<Scope> scope = const [OpenIdScope(), EmailScope(), ProfileScope()],
  10. Key? key,
})

Implementation

const LinkedInAuthCodeWidget({
  required this.onGetAuthCode,
  required this.redirectUrl,
  required this.clientId,
  required this.onError,
  this.destroySession = false,
  this.frontendRedirectUrl,
  this.appBar,
  this.useVirtualDisplay = false,
  this.scope = const [
    OpenIdScope(),
    EmailScope(),
    ProfileScope(),
  ],
  super.key,
});