article 0.0.3 article: ^0.0.3 copied to clipboard
A package to create an article style page.
example/example.dart
import 'package:article/article.dart';
import 'package:flutter/material.dart';
class Example extends StatelessWidget {
const Example({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: ListView(
children: [
Article(
header: H(
text: "Title of the article.",
),
body: Column(
children: [
P(
text: "Body elements.",
),
],
),
footer: P(
text: "Footer element.",
))
],
),
),
);
}
}