feat: fontSize in blog post

This commit is contained in:
Alex
2024-12-09 16:26:48 +03:00
parent 9ba0e68e79
commit f073a7b921
3 changed files with 10 additions and 42 deletions

View File

@@ -75,6 +75,7 @@ class _BlogPostWidgetState extends State<BlogPostWidget> {
height: 1,
color: Colors.black87,
fontWeight: FontWeight.w500,
fontSize: 16,
),
),
const SizedBox(height: 4),
@@ -83,6 +84,7 @@ class _BlogPostWidgetState extends State<BlogPostWidget> {
style: TextStyle(
height: 1,
color: Colors.black45,
fontSize: 14,
),
),
],
@@ -102,6 +104,7 @@ class _BlogPostWidgetState extends State<BlogPostWidget> {
child: Text(
state.feedBlogPostList[widget.index].title,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w600,
color: Colors.black87,
),
@@ -117,6 +120,7 @@ class _BlogPostWidgetState extends State<BlogPostWidget> {
: state.feedBlogPostList[widget.index].description,
style: {
"*": Style(
fontSize: FontSize(16),
color: Colors.black87,
),
},