0 purchases
custom markdown
custom_markdown #
welcome to my page!
example my blog
Installation #
dependencies:
custom_markdown:
copied to clipboard
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'),
),
copied to clipboard
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),
);
},
),
),
copied to clipboard
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 \\\\٩( 'ω' )و //// #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.