SignUpWidget constructor

SignUpWidget({
  1. required Widget child,
  2. required dynamic onSessionSuccess(
    1. ThirdPartySessionModel?
    ),
  3. required dynamic onSessionError(
    1. int
    ),
  4. required dynamic onReset(),
  5. Key? key,
})

Implementation

SignUpWidget({
  required this.child,
  required this.onSessionSuccess,
  required this.onSessionError,
  required this.onReset,
  Key? key}) :
      super(key: key) {

  if (this.child is IForm) {
    (this.child as IForm).setListener(onChildValidated);
  } else {
    ModLogger.e(tag: TAG, msg: "Unable to set custom signup");
  }
}