draft_view 0.8.34+1 copy "draft_view: ^0.8.34+1" to clipboard
draft_view: ^0.8.34+1 copied to clipboard

A draft js renderer written in Dart! You can easily render your draft js object in Flutter!

Draft View #

Note this is non-null-safety branch

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

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

4
likes
40
pub points
54%
popularity

Publisher

unverified uploader

A draft js renderer written in Dart! You can easily render your draft js object in Flutter!

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

audioplayers, flutter, url_launcher

More

Packages that depend on draft_view