Initialization
Last updated
Was this helpful?
The method for initializing the Wepin PIN Pad Library is as follows.
Initialize the Wepin PIN Pad Library. During initialization, set the language to be displayed on the PIN pad screen.
await wepinPinPad.init(String? language)language: <String> optional
The default language setting for the PIN pad screen is 'en'. Currently supported languages are 'ko', 'en', and 'ja'.
Future<void>
await wepinPinPad.init('ko')You can use the isInitialized method to check if the WepinPin instance has been successfully initialized.
wepinPinPad.isInitialized()<void>
<bool>
Returns true if initialization was successful and false if it failed.
Changes the language displayed on the PIN pad screen. Currently, only 'ko', 'en', and 'ja' are supported.
Parameters
language <String>
<void>
Last updated
Was this helpful?
Was this helpful?
if(wepinPinPad.isInitialized()) {
print('wepinPin is initialized!')
}wepinPinPad.changeLanguage(String language)wepinPinPad.changeLanguage('ko')