SignIn constructor

SignIn(
  1. {@required FirebaseAuth auth,
  2. @required List<AuthMethod> methods,
  3. @required Function3<dynamic, BuildContext, Map<String, dynamic>, dynamic> onSuccess,
  4. Key key,
  5. Color themeColor = Colors.blue,
  6. Widget privacyPolicy = const Text("By continuing, you agree to our Terms of Service and Privacy Policy.", textAlign: TextAlign.center, style: const TextStyle(fontSize: 12, color: const Color(0xFF000000), fontWeight: FontWeight.w500, fontFamily: "Roboto"))}
)

Implementation

SignIn(
    {@required this.auth,
    @required this.methods,
    @required this.onSuccess,
    Key key,
    this.themeColor = Colors.blue,
    this.privacyPolicy = const Text(
      "By continuing, you agree to our Terms of Service and Privacy Policy.",
      textAlign: TextAlign.center,
      style: const TextStyle(
          fontSize: 12,
          color: const Color(0xFF000000),
          fontWeight: FontWeight.w500,
          fontFamily: "Roboto"),
    )})
    : super(key: key);