new: tag rename

This commit is contained in:
lollipopkit
2023-05-31 17:56:08 +08:00
parent d24fe5ff5d
commit 55a13799b2
11 changed files with 103 additions and 45 deletions

View File

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