This guide explains how to initialize the Wepin Flutter Login Library.
After installing the Wepin Flutter Login Library, the next step is to initialize the SDK. SDK initialization involves creating an instance of WepinLogin and using the init() function to proceed.
Import SDK
To use the Wepin Flutter Login Library, you first need to import the SDK. Add the following import statements:
Using the registered app information, create an instance of WepinLogin. In the state init stage of the main.dart file, create and initialize the WepinLogin instance as follows: