LoginButton constructor Null safety

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

Implementation

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