Draft View

codecov Flutter test

A Draft JS renderer written in Dart!

This project supports rendering Draft JS object in Flutter natively! It will convert draft js object into Flutter Rich Textspan!

It is implemented in a plugable design so that you can create your own plugin easily.

Supported Plugins

  • Image Plugin
  • List Plugin
  • Blockquote Plugin
  • PostSettings Plugin. Example
  • Header Plugin
  • Basic Text Plugin
  • Audio Plugin (cannot play now. Use non-null-safety version!)

Demo

  1. Header, Postsettings, BlockQuote support

    image1

  2. Image and image's caption support

    image2

  3. Full screen image support (when clicked)

    image3

  4. Text inline style and nested list support

    image4