SonrRegisterButton constructor Null safety

const SonrRegisterButton(
  1. {Key? key,
  2. ResponseCallback<CreateAccountResponse>? onSuccess,
  3. ErrorCallback? onError}
)

Implementation

const SonrRegisterButton({Key? key, this.onSuccess, this.onError}) : super(key: key);