From ecb998c64b6b0f4e9e5dad0406e12ee8c6e645b8 Mon Sep 17 00:00:00 2001 From: Uwe Date: Tue, 3 Dec 2024 08:20:47 +0100 Subject: [PATCH] Examples: for relations demo add icons to buttons --- objectbox/example/flutter/objectbox_demo_relations/lib/main.dart | 1 + .../flutter/objectbox_demo_relations/lib/tag_elements.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/objectbox/example/flutter/objectbox_demo_relations/lib/main.dart b/objectbox/example/flutter/objectbox_demo_relations/lib/main.dart index 73385a4e..694e245c 100644 --- a/objectbox/example/flutter/objectbox_demo_relations/lib/main.dart +++ b/objectbox/example/flutter/objectbox_demo_relations/lib/main.dart @@ -60,6 +60,7 @@ class _MyHomePageState extends State { floatingActionButton: FloatingActionButton.extended( key: const Key('add'), label: const Text('Add Task'), + icon: const Icon(Icons.add), heroTag: null, onPressed: () { Navigator.of(context).push( diff --git a/objectbox/example/flutter/objectbox_demo_relations/lib/tag_elements.dart b/objectbox/example/flutter/objectbox_demo_relations/lib/tag_elements.dart index b496bda2..fbd58ed9 100644 --- a/objectbox/example/flutter/objectbox_demo_relations/lib/tag_elements.dart +++ b/objectbox/example/flutter/objectbox_demo_relations/lib/tag_elements.dart @@ -27,6 +27,7 @@ class _NewTagState extends State { Widget build(BuildContext context) { return FloatingActionButton.extended( label: const Text('New Tag'), + icon: const Icon(Icons.add), heroTag: null, onPressed: () async { final dialog = await showDialog(