getLoginButtons method

Widget getLoginButtons()

Implementation

Widget getLoginButtons() {
  return Column(
    crossAxisAlignment: CrossAxisAlignment.stretch,
    children: [
      // Signin With Apple
      if (widget.appleEnabled)
        AppleSignInButton(
          onStarted: widget.onStarted,
          onCompleted: widget.onComplete,
          onError: widget.onError,
        ),
      // Signin With Google
      if (widget.googleEnabled)
        Padding(
          padding: const EdgeInsets.only(top: 16.0),
          child: GoogleSignInButton(
            onStarted: widget.onStarted,
            onCompleted: widget.onComplete,
            onError: widget.onError,
          ),
        ),
    ],
  );
}