flutter_email_parser 0.1.2 copy "flutter_email_parser: ^0.1.2" to clipboard
flutter_email_parser: ^0.1.2 copied to clipboard

Email reply parser is a package to parse plain text email content.

example/example.dart

import 'package:flutter/material.dart';
import 'package:flutter_email_parser/email_reply_parser.dart';

class Example extends StatefulWidget {
  @override
  _ExampleState createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text(_getTheEmailContent()),
    );
  }

  String _getTheEmailContent() {
    const email_1 = """
Hi folks

What is the best way to clear a Riak bucket of all key, values after
running a test?
I am currently using the Java HTTP API.

-Krishna Soni


_______________________________________________
test-users mailing list
test-users@gmail.com
https://github.com/krishnaSoni2113/flutter-email-reply-parser
""";

    EmailReplyParser _emailReplyParser = EmailReplyParser();
    return _emailReplyParser.parseReply(emailText: email_1);
  }
}
12
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Email reply parser is a package to parse plain text email content.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_email_parser