Blog post edit layouts and BloC

This commit is contained in:
2024-05-13 11:53:42 +03:00
parent 76a29ebf67
commit 96ad5a7cfb
8 changed files with 312 additions and 3 deletions

View File

@@ -139,6 +139,13 @@ class FeedScreen extends StatelessWidget {
AppRoutes.blogPostScreen,
arguments: post?['id'].toString(),
),
trailing: GestureDetector(
onTap: () => Navigator.pushNamed(
context,
AppRoutes.blogPostEditScreen,
arguments: post?['id'].toString(),
),
child: Icon(Icons.edit)),
));
},
),