Skip to content

Commit

Permalink
Examples: for relations demo add icons to buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Dec 3, 2024
1 parent 1e0f61b commit 2dd62a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class _MyHomePageState extends State<MyHomePage> {
floatingActionButton: FloatingActionButton.extended(
key: const Key('add'),
label: const Text('Add Task'),
icon: const Icon(Icons.add),
heroTag: null,
onPressed: () {
Navigator.of(context).push(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class _NewTagState extends State<NewTag> {
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(
Expand Down

0 comments on commit 2dd62a3

Please sign in to comment.