draft_view 0.9.1-nullsafety.2 copy "draft_view: ^0.9.1-nullsafety.2" to clipboard
draft_view: ^0.9.1-nullsafety.2 copied to clipboard

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

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

4
likes
120
pub points
57%
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

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, url_launcher

More

Packages that depend on draft_view