MobileLogin constructor

const MobileLogin({
  1. Key? key,
  2. Function? otpCallback,
  3. VoidCallback? emailCallBack,
})

otpCallback is the callback function to be called after OTP generation. emailCallBack is the callback function to be called for email login.

Implementation

const MobileLogin({super.key, this.otpCallback, this.emailCallBack});