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

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
90
pub points
0%
popularity

Publisher

unverified uploader

we provide flexible custamizable markdown widget & parser.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, gap, url_launcher, url_launcher_web

More

Packages that depend on custom_markdown