markdown_editable_textinput 1.0.1

Flutter Android iOS web

A TextField Widget that allow you to convert easily what's in the TextField to Markdown.

Build Status pub package codecov

markdown_editable_textinput #

MarkdownEditableTextInput is a TextField Widget that allow you to convert easily what's in the TextField to Markdown.

Features #

  • [x] Convert to Bold, Italic, Title (h1,h2,h3), List and Link
  • [x] Support text direction
  • [ ] Customize textInput colors

Demo #

Usage #

The color of the MarkdownTextInput is defined by the color set in your Theme :

  • primaryColor: Cursor's color
  • accentColor: MarkdownTextInput's borders
  • cardColor: Background color of MarkdownTextInput

Attributes #

AttributesExample ValueDescription
Function onTextChangedCallback used to retrieve the text in parent's Widget
String initialValue"Lorem Ipsum"Display an initial value in MarkdownTextInput's field
Function validatorsAdd validators to the MarkdownTextInput
String label"Description"Display a label in MarkdownTextInput
TextDirection textDirectionTextDirection.rtlChange text direction
int maxLines3The maximum of lines that can be display in the input

Example #

You can see an example of how to use this package here

26
likes
100
pub points
70%
popularity

Publisher

playmoweb.com

A TextField Widget that allow you to convert easily what's in the TextField to Markdown.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

effective_dart, flutter

More

Packages that depend on markdown_editable_textinput