custom_markdown 0.0.1 copy "custom_markdown: ^0.0.1" to clipboard
custom_markdown: ^0.0.1 copied to clipboard

outdated

we provide flexible custamizable markdown widget & parser.

custom_markdown #

welcome to my page! example my blog

Installation #

  dependencies:
    custom_markdown:

how to use #

it's so easy, the most of simple use case our product!

final text = """
# hello world
hey guys!
""";

  Markdown(
    body: text.replaceAll('\\n', '\n'),
  ),

and, blow code is one of example.

  Markdown(
    body: text.replaceAll('\\n', '\n'),
    style: MarkdownHeadlineDecoration(
      decorationBuilder: (child, headlineType) {
        if (headlineType == HeadlineType.H1) {
          return Padding(
            padding: const EdgeInsets.fromLTRB(0, 30, 0, 0),
            child: child,
          );
        }
        return Container(
          child: Align(
            alignment: Alignment.centerLeft,
              child: Padding(
              padding: const EdgeInsets.fromLTRB(16, 9, 16, 12),
              child: child,
            ),
          ),
          color: colors.materialBlue.withOpacity(0.4),
        );
      },
    ),
  ),

this package is still under development. #

if you want to know what we development completion or incompletion, let you see lib/src/elements

We are PR welcome \\\\٩( 'ω' )و //// #

1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

we provide flexible custamizable markdown widget & parser.

Homepage

License

unknown (license)

Dependencies

flutter, gap

More

Packages that depend on custom_markdown