builder property
Widget Function(BuildContext context, AccessToken? accessToken, OAuth2TokenAvailability availability, Authorize authorize, Deauthorize deauthorize, Widget? child)
builder
final
accessToken
is either valid access token or null.
availability
indicate the current access token availability status.
authorize
is a function that can be used to authorize the app.
deauthorize
is a function that can be used to deauthorize the app; if revocation is supported, it also revokes the tokens. Please note that deauthorize
does not interact with user before deauthorization.
Implementation
final Widget Function(BuildContext context, AccessToken? accessToken, OAuth2TokenAvailability availability,
Authorize authorize, Deauthorize deauthorize, Widget? child) builder;