Skip to content

Commit df55f8e

Browse files
authored
Merge pull request #644 from Web3Auth/fix/flutter-typo
[Flutter] Fix typo in usage
2 parents 07e654a + 7f7aed9 commit df55f8e

1 file changed

Lines changed: 30 additions & 30 deletions

File tree

docs/sdk/pnp/flutter/usage.mdx

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,14 @@ class LoginParams {
7979
};
8080
}
8181
```
82+
8283
</TabItem>
8384
</Tabs>
8485

8586
### `getPrivkey()`
8687

87-
Use getPrivkey() to get the private key of the user. The method returns an EVM compatible private key which can be
88-
used to sign transactions on EVM compatible chains.
88+
Use getPrivkey() to get the private key of the user. The method returns an EVM compatible private key which can be used to sign transactions on EVM
89+
compatible chains.
8990

9091
### `getEd25519PrivKey()`
9192

@@ -371,29 +372,29 @@ Web3AuthFlutter.login(
371372

372373
<TabItem value="table">
373374

374-
| Parameter | Type | Mandatory | Description |
375-
| ----------------------------| ------------------------- | --------- | ----------------------------------------------------------------- |
376-
| `additionalParams` | `Map?` | No | additionalParams, use id_token(JWT) to authenticate with web3auth |
377-
| `domain` | `String?` | No | Domain of the app |
378-
| `client_id` | `String?` | No | client_id from Web3Auth Dashboard |
379-
| `leeway` | `String?` | No | leeway |
380-
| `verifierIdField` | `String?` | No | verifierIdField |
381-
| `isVerifierIdCaseSensitive` | `bool?` | No | Boolean to confirm the case sensitivity of VerifierId |
382-
| `display` | `Display?` | No | Display |
383-
| `prompt` | `Prompt?` | No | Prompt |
384-
| `max_age` | `String?` | No | max_age |
385-
| `ui_locales` | `String?` | No | ui_locales to be shown on the modal |
386-
| `id_token_hint` | `String?` | No | Previously issued ID Token. |
387-
| `id_token` | `String?` | No | JWT (ID Token) to be passed for Login. |
388-
| `login_hint` | `String?` | No | Email used for EMAIL_PASSWORDLESS |
389-
| `acr_values` | `String?` | No | acc_values |
390-
| `scope` | `String?` | No | scope |
391-
| `audience` | `String?` | No | audience |
392-
| `connection` | `String?` | No | connection |
393-
| `state` | `String?` | No | state |
394-
| `response_type` | `String?` | No | response_type |
395-
| `nonce` | `String?` | No | nonce |
396-
| `redirect_uri` | `String?` | No | redirect_uri |
375+
| Parameter | Type | Mandatory | Description |
376+
| --------------------------- | ---------- | --------- | ----------------------------------------------------------------- |
377+
| `additionalParams` | `Map?` | No | additionalParams, use id_token(JWT) to authenticate with web3auth |
378+
| `domain` | `String?` | No | Domain of the app |
379+
| `client_id` | `String?` | No | client_id from Web3Auth Dashboard |
380+
| `leeway` | `String?` | No | leeway |
381+
| `verifierIdField` | `String?` | No | verifierIdField |
382+
| `isVerifierIdCaseSensitive` | `bool?` | No | Boolean to confirm the case sensitivity of VerifierId |
383+
| `display` | `Display?` | No | Display |
384+
| `prompt` | `Prompt?` | No | Prompt |
385+
| `max_age` | `String?` | No | max_age |
386+
| `ui_locales` | `String?` | No | ui_locales to be shown on the modal |
387+
| `id_token_hint` | `String?` | No | Previously issued ID Token. |
388+
| `id_token` | `String?` | No | JWT (ID Token) to be passed for Login. |
389+
| `login_hint` | `String?` | No | Email used for EMAIL_PASSWORDLESS |
390+
| `acr_values` | `String?` | No | acc_values |
391+
| `scope` | `String?` | No | scope |
392+
| `audience` | `String?` | No | audience |
393+
| `connection` | `String?` | No | connection |
394+
| `state` | `String?` | No | state |
395+
| `response_type` | `String?` | No | response_type |
396+
| `nonce` | `String?` | No | nonce |
397+
| `redirect_uri` | `String?` | No | redirect_uri |
397398

398399
</TabItem>
399400

@@ -479,8 +480,7 @@ class ExtraLoginOptions {
479480

480481
## Selecting Curve
481482

482-
The `LoginParams` class has a `curve` parameter. This parameter can be used to select the elliptic curve to use for the
483-
signature.
483+
The `LoginParams` class has a `curve` parameter. This parameter can be used to select the elliptic curve to use for the signature.
484484

485485
```dart
486486
final Web3AuthResponse response = await Web3AuthFlutter.login(LoginParams(
@@ -589,9 +589,9 @@ Get started with a sample app found [here](/examples?product=Plug+and+Play&sdk=P
589589

590590
### `setResultUrl()`
591591

592-
This method will trigger login exceptions for Android. For iOS, you don't need this method to trigger
593-
the login exceptions. The Android SDK usees the custom tabs and from current implementation of chrome custom tab,
594-
that's not possible to add a listener directly to chrome custom tab close button and trigger login exceptions.
592+
This method will trigger login exceptions for Android. For iOS, you don't need this method to trigger the login exceptions. The Android SDK uses the
593+
custom tabs and from current implementation of chrome custom tab, it's not possible to add a listener directly to chrome custom tab close button and
594+
trigger login exceptions.
595595

596596
Hence, it's necessary to user `setResultUrl` method in your login screen to trigger exceptions.
597597

0 commit comments

Comments
 (0)