> For the complete documentation index, see [llms.txt](https://docs.wepin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wepin.io/en/widget-integration/flutter-sdk/pin-pad-library/init.md).

# Initialization

The method for initializing the Wepin PIN Pad Library is as follows.

## init

Initialize the Wepin PIN Pad Library.\
During initialization, set the language to be displayed on the PIN pad screen.

```dart
await wepinPinPad.init(String? language)
```

### **Parameters**

* `language`: \<String> **optional**\
  The default language setting for the PIN pad screen is `'en'`. Currently supported languages are `'ko'`, `'en'`, and `'ja'`.

### **Return value**

* `Future`\<void>

### Example

```dart
await wepinPinPad.init('ko')
```

## isInitialized

You can use the `isInitialized` method to check if the `WepinPin` instance has been successfully initialized.

```dart
wepinPinPad.isInitialized()
```

### **Parameters**

* `<void>`

### **Return Value**

* `<bool>`\
  Returns **true** if initialization was successful and **false** if it failed.

### **Example**

```dart
if(wepinPinPad.isInitialized()) {
  print('wepinPin is initialized!')
}
```

## changeLanguage

```dart
wepinPinPad.changeLanguage(String language)
```

Changes the language displayed on the PIN pad screen. Currently, only `'ko'`, `'en'`, and `'ja'` are supported.<br>

**Parameters**

* &#x20;`language` \<String>

### **Return value**

* `<void>`

### Example

```dart
wepinPinPad.changeLanguage('ko')
```
