SupaMagicAuth constructor
const
SupaMagicAuth({
- Key? key,
- String? redirectUrl,
- required void onSuccess(
- Session response
- void onError(
- Object error
- SupaMagicAuthLocalization localization = const SupaMagicAuthLocalization(),
Implementation
const SupaMagicAuth({
Key? key,
this.redirectUrl,
required this.onSuccess,
this.onError,
this.localization = const SupaMagicAuthLocalization(),
}) : super(key: key);