ContinueOnSonrButton constructor Null safety

const ContinueOnSonrButton(
  1. {Key? key,
  2. ButtonVariant variant = ButtonVariant.blue,
  3. ResponseCallback<AuthInfo>? onSuccess,
  4. ErrorCallback? onError}
)

Implementation

const ContinueOnSonrButton({Key? key, this.variant = ButtonVariant.blue, this.onSuccess, this.onError}) : super(key: key);