new: server tag animation

This commit is contained in:
lollipopkit
2023-05-31 18:10:18 +08:00
parent 55a13799b2
commit 6091cd0da8
6 changed files with 58 additions and 33 deletions

View File

@@ -30,8 +30,10 @@ class _SnippetListPageState extends State<SnippetListPage> {
floatingActionButton: FloatingActionButton(
heroTag: 'snippet',
child: const Icon(Icons.add),
onPressed: () =>
AppRoute(const SnippetEditPage(), 'snippet edit page',).go(context),
onPressed: () => AppRoute(
const SnippetEditPage(),
'snippet edit page',
).go(context),
),
);
}