Search post

This commit is contained in:
2024-11-23 19:06:09 +08:00
parent d64a24454d
commit dfd80021b9
6 changed files with 215 additions and 6 deletions

View File

@ -164,6 +164,14 @@ class _ExploreScreenState extends State<ExploreScreen> {
title: Text('screenExplore').tr(),
floating: true,
snap: true,
actions: [
IconButton(
icon: const Icon(Symbols.search),
onPressed: () {
GoRouter.of(context).pushNamed('postSearch');
},
),
],
),
SliverInfiniteList(
itemCount: _posts.length,