Posts

Showing posts from September, 2020

Customized email in Flutter to users using mailer package

Image
  Follow the steps ; get mailer from 'pub.dev'.                       Go to pub.dev:  https://pub.dev/packages/mailer/install get the dependencies by copying from mailer installing process and pasting it in pubspec.yaml and then import the mailer package in main file or required files                          copy the function from mailer and paste it in main file.                          For live demo, checkout this youtube video: https://youtu.be/Zj7ZqBGQkEQ FULL CODE:          main.dart: import 'package:flutter/material.dart' ; import 'package:toast/toast.dart' ; import 'package:mailer/mailer.dart' ; import 'package:mailer/smtp_server.dart' ; void main () => runApp( MyApp ()) ; class MyApp extends StatelessWidget { // This widget is th...