verify_email 0.0.3 copy "verify_email: ^0.0.3" to clipboard
verify_email: ^0.0.3 copied to clipboard

discontinued

Verify an email address your user just entered. It's NOT encrypted but should do the job for most apps.

example/main.dart

import 'package:flutter/material.dart';
import 'package:verify_email/verify_email.dart';


class VerifyEmailExample extends StatefulWidget {
  @override
  _VerifyEmailExampleState createState() => _VerifyEmailExampleState();
}

class _VerifyEmailExampleState extends State<VerifyEmailExample> {
  bool isVerified = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RaisedButton(
          child: Text(isVerified ? "Verified!" : "Verify account"),
          onPressed: ()async{
            isVerified = await VerifyEmail().verify(context: context, email: "user@email.com", credential: "Google accessToken", senderEmail: "sendto@gmail.com");
            setState(() {
              isVerified = isVerified;
            });
          },
        ),
      ),
    );
  }
}
1
likes
40
pub points
0%
popularity

Publisher

verified publisherhermannkabi.com

Verify an email address your user just entered. It's NOT encrypted but should do the job for most apps.

Homepage

License

MIT (LICENSE)

Dependencies

flutter, mailer

More

Packages that depend on verify_email