article 0.0.9 article: ^0.0.9 copied to clipboard
A package to create an article style page.
Are you a blogger?
YES: You probably will love this package. NO: You should try first.
Features #
Headers as H1, H2, H3, H4, H5 and H6. Paragraph as P. Article, Section and much more.
Getting started #
Explore the usage section.
Usage #
P(text: "Use this to make a paragraph."),
H1(text: "Use this to make a header."),
H2(text: "Use this to make a header."),
H3(text: "Use this to make a header."),
H4(text: "Use this to make a header."),
H5(text: "Use this to make a header."),
H6(text: "Use this to make a header."),
Section(
child: Column(
children: [
H1(
text: "Header 1.",
),
P(
text: "Body 1.",
),
//Add more Widgets.
],
),
),
Article(
maxWidth: 800,
header: H3(
text: "Title of the article.",
),
body: Column(
children: [
Section(
child: Column(
children: [
H5(
text: "Header 1.",
),
P(
text: "Body 1.",
),
//Other Widgets.
],
),
),
Section(
child: Column(
children: [
H5(
text: "Header 2.",
),
P(
text: "Body 2.",
),
],
),
)
],
),
footer: P(
text: "Footer element.",
),
),
Additional information #
Do not leave without leaving a like.