From edb9a3a6bbf64b5e58747b227a96b889455446e4 Mon Sep 17 00:00:00 2001 From: Niklas Date: Sat, 5 Oct 2024 00:30:39 +0200 Subject: [PATCH] =?UTF-8?q?B=C3=A4m=20oida,=20die=20Icons=20sind=20nun=20a?= =?UTF-8?q?uch=20drinnen!!!111=20eins=20elf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/screens/home.dart | 13 ++++++++----- pubspec.yaml | 1 + 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/screens/home.dart b/lib/screens/home.dart index d99f55a..8f3a43f 100644 --- a/lib/screens/home.dart +++ b/lib/screens/home.dart @@ -273,13 +273,16 @@ class HomePage extends StatelessWidget { ), - Positioned.fill( - left:127, + Positioned( + left:145, top:9, + child: + Container( + width: 32, + height: 32, child: Image.asset( - Data.recipes[index].iconUrl, - fit: BoxFit.cover, - ), + Data.recipes[index].iconUrl, + ), ), ), Positioned( diff --git a/pubspec.yaml b/pubspec.yaml index e4880b2..1047120 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -67,6 +67,7 @@ flutter: # - images/a_dot_ham.jpeg assets: - assets/images/ + - assets/images/Icons/ # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware