ContinueOnSonrButton constructor Null safety

const ContinueOnSonrButton(
  1. {Key? key,
  2. ButtonVariant variant = ButtonVariant.blue,
  3. String label = 'Continue on Sonr',
  4. ResponseCallback<AuthInfo>? onSuccess,
  5. ErrorCallback? onError}
)

Implementation

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